Commit graph

73 commits

Author SHA1 Message Date
b88400ad8d
Upgrade goreleaser github action version 2023-03-07 09:46:13 -07:00
93fff3bd8a
Bump goreleaser go version 1.19->1.20 2023-03-07 09:30:26 -07:00
d3fe7609c9
Move goreleaser to 'main' branch 2023-03-07 09:27:55 -07:00
621b105213
Refactor ReplaceNonAlphanum() to use regex.ReplaceAllString() 2023-03-07 09:24:46 -07:00
b2e3dec054
Add goreleaser 2023-03-01 11:28:12 -07:00
45adbf31c5
Simpllify getting started example in README.md 2023-03-01 11:08:05 -07:00
a9f2f6b4f4
Merge pull request #30 from acaloiaro/move-backends-to-separate-package
Move backends into separate package
2023-03-01 10:36:50 -07:00
5b6620927e
Move backends to separate packages 2023-03-01 10:34:27 -07:00
1911da5008
Merge pull request #24 from acaloiaro/add-with-logger-config
Add user-supplied logger support
2023-02-24 11:37:45 -07:00
dbeb85518f
Add logger configuration options
- Add ConfigOption for logger configuration
- Extend Neoq interface with SetLogger()
- Remove error return value from Shutdown()
- Remove WithConfig from Neoq interface
2023-02-24 11:35:35 -07:00
2e5c4609c5
Disable ireturn and testpackage linters 2023-02-24 09:12:35 -07:00
cc6a3d9a14
Enable goerr113 linter 2023-02-24 08:55:36 -07:00
145c9df2fd
Fix memory backend test and WithOptions() 2023-02-24 08:49:56 -07:00
67e83aa677
Fix golangci-lint workflow 2023-02-24 08:11:09 -07:00
e5071b4817
Revert "temporarily disable linting"
This reverts commit f43f3c6052.
2023-02-24 08:11:08 -07:00
Juan C. Müller
b0fc2943af
Merge pull request #9 from acaloiaro/more-suggestions
More suggestions
2023-02-23 21:42:38 -05:00
Juan C. Müller
56a64d7620
Provide WithOptions instead 2023-02-23 21:38:22 -05:00
acd50c4d1f
Update WithLogger TODO 2023-02-23 13:02:20 -07:00
6c33a95e56
combined todo to issue workflows 2023-02-23 13:00:37 -07:00
ad58949cd0
Merge pull request #21 from acaloiaro/make-future-job-check-interval-configurable
Make future job check interval configurable
2023-02-23 12:55:54 -07:00
b9ca892b38
Only run the manual todo to issue workflow when run manually 2023-02-23 12:52:44 -07:00
895ea02a26
Make future job check interval configurable
- Make future job check interval configurable in MemBackend (fixes #11)
- Make interval of time for which jobs are dedicated a goroutine use a default in MemBackend (fixes #12)
- Make future job check interval configurable in PgBackend (fixes #18)
- Make interval of time for which jobs are dedicated a goroutine use a default in PgBackend (fixes #19)
2023-02-23 12:46:12 -07:00
f8238f88c0
Fix todo to issue config 2023-02-23 11:56:17 -07:00
a024be6a39
Updated code TODOs 2023-02-23 11:53:24 -07:00
963a4b7720
Add todo_to_issue workflows 2023-02-23 11:41:41 -07:00
7545d110e1
Update DATABASE_URL -> TEST_DATABASE_URL 2023-02-23 10:58:14 -07:00
f43f3c6052
temporarily disable linting 2023-02-23 10:49:22 -07:00
077fe8c855
Don't use error-wrapping directive in log.Fatalf calls 2023-02-23 10:32:39 -07:00
af8f9cf7ed
Merge pull request #10 from acaloiaro/implement-shutdown-functionality
Add Shutdown() functionality
2023-02-23 10:29:54 -07:00
Adriano Caloiaro
c232bc896f
Implement Shutdown() functionality
- Store context cancelFuncs to be called during Shutdown()
- This ensures the resources are released when neoq is shut down.

Co-authored-by: Juan C. Müller <jcmuller@users.noreply.github.com>
2023-02-23 10:23:22 -07:00
Adriano Caloiaro
5d7ca98d13
Updated .gitignore 2023-02-23 09:45:42 -07:00
Adriano Caloiaro
68a3c56963
Merge pull request #5 from acaloiaro/add-in-memory-backend
Add in-memory backend
2023-02-23 09:44:20 -07:00
Adriano Caloiaro
93a646ae27
Add in-memory backend
Co-authored-by: Juan C. Müller <jcmuller@users.noreply.github.com>
2023-02-23 09:35:14 -07:00
Adriano Caloiaro
bde273b995
Merge pull request #3 from jcmuller/add-test-action
Add test action
2023-02-20 07:41:09 -08:00
Adriano Caloiaro
697263787c
Merge pull request #2 from jcmuller/add-linting
Add linting
2023-02-20 07:39:56 -08:00
Adriano Caloiaro
f4fad1ffc2
Merge pull request #4 from jcmuller/fix-error-checking
Fix error checking
2023-02-20 07:37:57 -08:00
Juan C. Müller
dd4447f3b1
Configure db 2023-02-19 18:52:37 -05:00
Juan C. Müller
28cb63336c
Run tests 2023-02-19 18:47:31 -05:00
Juan C. Müller
ee5f061d24
Fix test 2023-02-19 17:07:27 -05:00
Juan C. Müller
e3fa7d96f8
Do not compare error's string output 2023-02-19 10:32:09 -05:00
Juan C. Müller
da96409f30
Use WithOption 2023-02-19 10:30:44 -05:00
Juan C. Müller
1db5b7c557
Bump dependencies 2023-02-19 10:06:29 -05:00
Juan C. Müller
c74f31e859
Add update-dependencies make target 2023-02-19 10:06:15 -05:00
Juan C. Müller
0ec2df71d8
Add linting 2023-02-19 10:05:59 -05:00
Juan C. Müller
3616ccc038
Ignore vendor directory 2023-02-19 10:04:50 -05:00
Juan C. Müller
2a1d77c604
Bump golang version 2023-02-19 10:04:35 -05:00
Adriano Caloiaro
d253b50a58
Remove *Opt suffix from WithConfig 2023-02-18 10:49:19 -08:00
Adriano Caloiaro
4559513ee4
Add gitter chat to README 2023-02-18 09:45:17 -08:00
Adriano Caloiaro
9ba0f623e4
Move queries to postgres_backend.go 2023-02-18 09:19:47 -08:00
Adriano Caloiaro
acbba8d214
Merge pull request #1 from jcmuller/suggestions
Suggestions
2023-02-18 09:16:05 -08:00