You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Drew Bednar 98d2633de9 Kind of working 1 week ago
data Unit tests and more otel collector refinement 1 week ago
.gitignore Working example of enqueing work 3 weeks ago
.local-profile.template Getting local postgres setup 3 weeks ago
Makefile Adding OTEL stack 1 week ago
README.md Getting local postgres setup 3 weeks ago
docker-compose.yaml Unit tests and more otel collector refinement 1 week ago
go.mod Kind of working 1 week ago
go.sum Kind of working 1 week ago
main.go Kind of working 1 week ago
main_test.go Unit tests and more otel collector refinement 1 week ago

README.md

Go Background Jobs

Experimenting with River Async task system for background jobs in golang.

Starting Local Dev

This project requires a running postgres database for River's task system.

To start a postgres database use:

make start-local

To stop it use:

make stop-local

A simple .local-profile.template is available with environment variables that can be helpful when working in this project.

cp .local-profile.template .local-profile

Update the profile with any additional envvars you will need then:

source .local-profile

You can now connect to the local database using psql $PG_URI

If you do not have psql installed:

brew install libpq

Resources