Suricate-bank - API to transfer money between accounts at Suricate Bank,written in Go

⚠️ WORK IN PROGRESS ⚠️

Suricate Bank is an api that creates accounts and transfers money between them. It is being built following Clean Arch.

A very special thanks to my Golang and Clean Arch mentor, Helder. It's been a ride!

Owner
João Saraceni
Lina's dad | Aspirant Web Developer at Alpha EdTech | Production Engineer | English, Math and Physics Teacher
João Saraceni
Comments
  • feat: Implement accounts repository

    feat: Implement accounts repository

    Set up the connection to db using pgxpool;

    Created migrations for accounts table.

    Implemented account repository methods (create, fetch, get by id, get balance, credit and debit) for persisting insertions and modifications in db;

    Created integration tests for accounts repository using dockertest;

    Added context where necessary;

    Implemented Random() in cpf package, and added a Parse() method to hash package to simplify the repository integration tests;

    Refactored Credit and Debit account usecases to take accountId instead of an instance of account struct;

  • chore(deps): Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.0

    chore(deps): Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.0

    Bumps github.com/jackc/pgx/v4 from 4.15.0 to 4.16.0.

    Changelog

    Sourced from github.com/jackc/pgx/v4's changelog.

    4.16.0 (April 21, 2022)

    • Upgrade pgconn to v1.12.0
    • Upgrade pgproto3 to v2.3.0
    • Upgrade pgtype to v1.11.0
    • Fix: Do not panic when context cancelled while getting statement from cache.
    • Fix: Less memory pinning from old Rows.
    • Fix: Support '\r' line ending when sanitizing SQL comment.
    • Add pluggable GSSAPI support (Oliver Tan)
    Commits
    • 8c1815e Release v4.16.0
    • c74f3f0 Add link to https://github.com/otan/gopgkrb5
    • e012ea0 Upgrade pgconn, pgtype, and pgproto3
    • 49a8601 Try to pacify finicky timing test on CI
    • 097b6aa Add time to logging failed Exec
    • bb8c52f Add doc regarding default pgxpool.Config.MaxConns
    • 3ce50c0 Rename dbSavepoint to dbSimulatedNestedTx
    • a86ece0 Fix single line comment for line endings in mac when sanitizing.
    • b6b24f9 Allocate connRows on demand instead of preallocating in bulk
    • 1e565b0 Handle stmtCache.Get error previously thought impossible
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.8

    chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.8

    Bumps github.com/swaggo/swag from 1.8.2 to 1.8.8.

    Release notes

    Sourced from github.com/swaggo/swag's releases.

    v1.8.8

    Changelog

    07690e9 Add check for nil otherTypeDef (#1372) eaed517 Enhancements: search imports sequencely, till find the type. (#1374) 0da94ff Fix generics with package alias (#1360) 29d3d30 add properties to $ref (#1391) 362d05b chore: increment version.go (#1395) da6d718 chore: update GitHub actions (#1362) e5d507d enhancement for PR #1387: evaluate const across packages (#1388) e6723fe feat: add flag to generate documentation only for specific tags (#1379) 38b5f15 feat: make swagger comments more readable for go doc (#1366) 8117f4c fix: wrongly shared schema by fields (#1389) 829fbe1 fmt cmd: use a tab instead of two spaces to format comments (#1386) bdfec2b parse global enums (#1387)

    v1.8.7

    Changelog

    f8d59d6 Bump golang.org/x/tools dependency version (#1338) 7f90377 Fix generics issue #1345 (#1349) e4f0129 chore: drop go1.15 support (#1331) 277a278 chore: increment version (#1350) 74e96c9 feat. add support formData []file (#1332) 04c699c fix issue #1346 about generics (#1348) 075c176 refactor: move from io/ioutil to io and os packages (#1334)

    v1.8.6

    Changelog

    bc895ed Fix formatting crosstalk (#1317) c9385a8 build a docker image and push to ghcr.io (#1329) 5fbb18f chore: update version (#1330) cf1c4a7 fix: Generic Fields does not handle Arrays (#1311) b8f53da fix: Generic Fields does not handle Arrays in the .swaggo file (#1322) 2cd7ab5 fix: Generics not detected if name does not contain a pkg path (#1328) 007219f fix: funcDeclaration body check (#1310) e7ccdf4 refactor func splitStructName (#1313)

    v1.8.5

    Changelog

    2f148dd Extended generics support (#1277) 23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293) 732c087 doc: add function scoped struct declaration example (#1296) 45f01a1 feat: add function scoped struct parse (#1283) cf03796 feat: get swagger instance from register (#1298) af1c525 fix: Go generics cannot find common package object type definition (#1281) 9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump golang from 1.18.2-alpine to 1.19.3-alpine

    chore(deps): Bump golang from 1.18.2-alpine to 1.19.3-alpine

    Bumps golang from 1.18.2-alpine to 1.19.3-alpine.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.7

    chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.7

    Bumps github.com/swaggo/swag from 1.8.2 to 1.8.7.

    Release notes

    Sourced from github.com/swaggo/swag's releases.

    v1.8.7

    Changelog

    f8d59d6 Bump golang.org/x/tools dependency version (#1338) 7f90377 Fix generics issue #1345 (#1349) e4f0129 chore: drop go1.15 support (#1331) 277a278 chore: increment version (#1350) 74e96c9 feat. add support formData []file (#1332) 04c699c fix issue #1346 about generics (#1348) 075c176 refactor: move from io/ioutil to io and os packages (#1334)

    v1.8.6

    Changelog

    bc895ed Fix formatting crosstalk (#1317) c9385a8 build a docker image and push to ghcr.io (#1329) 5fbb18f chore: update version (#1330) cf1c4a7 fix: Generic Fields does not handle Arrays (#1311) b8f53da fix: Generic Fields does not handle Arrays in the .swaggo file (#1322) 2cd7ab5 fix: Generics not detected if name does not contain a pkg path (#1328) 007219f fix: funcDeclaration body check (#1310) e7ccdf4 refactor func splitStructName (#1313)

    v1.8.5

    Changelog

    2f148dd Extended generics support (#1277) 23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293) 732c087 doc: add function scoped struct declaration example (#1296) 45f01a1 feat: add function scoped struct parse (#1283) cf03796 feat: get swagger instance from register (#1298) af1c525 fix: Go generics cannot find common package object type definition (#1281) 9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)

    v1.8.4

    Changelog

    bd21bb0 Fix issue swaggo/swag#1150 (#1248) 401e414 doc: add missing web frameworks (#1263) a566490 feat: add default description to code if none is provided (#1239) a780e45 feat: default required option for struct fields (#1181) 213f6b8 feat: permit error (and any) interface definition (#1212) 89c61d4 feat: suppress debug logs when using -q (#1254) 0e2ec6c feat: use early overrides to allow converting unsupported types. (#1209) 1cd0b53 fix: don't skip ".." directory (#1238) 8de9952 fix: generic arrays generate successfully (#1247) 796a346 fix: temp dir to be the same as SerchDir to avoid invalid cross-device link (#1203) (#1241)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump golang from 1.18.2-alpine to 1.19.2-alpine

    chore(deps): Bump golang from 1.18.2-alpine to 1.19.2-alpine

    Bumps golang from 1.18.2-alpine to 1.19.2-alpine.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.6

    chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.6

    Bumps github.com/swaggo/swag from 1.8.2 to 1.8.6.

    Release notes

    Sourced from github.com/swaggo/swag's releases.

    v1.8.6

    Changelog

    bc895ed Fix formatting crosstalk (#1317) c9385a8 build a docker image and push to ghcr.io (#1329) 5fbb18f chore: update version (#1330) cf1c4a7 fix: Generic Fields does not handle Arrays (#1311) b8f53da fix: Generic Fields does not handle Arrays in the .swaggo file (#1322) 2cd7ab5 fix: Generics not detected if name does not contain a pkg path (#1328) 007219f fix: funcDeclaration body check (#1310) e7ccdf4 refactor func splitStructName (#1313)

    v1.8.5

    Changelog

    2f148dd Extended generics support (#1277) 23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293) 732c087 doc: add function scoped struct declaration example (#1296) 45f01a1 feat: add function scoped struct parse (#1283) cf03796 feat: get swagger instance from register (#1298) af1c525 fix: Go generics cannot find common package object type definition (#1281) 9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)

    v1.8.4

    Changelog

    bd21bb0 Fix issue swaggo/swag#1150 (#1248) 401e414 doc: add missing web frameworks (#1263) a566490 feat: add default description to code if none is provided (#1239) a780e45 feat: default required option for struct fields (#1181) 213f6b8 feat: permit error (and any) interface definition (#1212) 89c61d4 feat: suppress debug logs when using -q (#1254) 0e2ec6c feat: use early overrides to allow converting unsupported types. (#1209) 1cd0b53 fix: don't skip ".." directory (#1238) 8de9952 fix: generic arrays generate successfully (#1247) 796a346 fix: temp dir to be the same as SerchDir to avoid invalid cross-device link (#1203) (#1241)

    v1.8.3

    Changelog

    f09eaa1 chore: cleanup generics_test.go (#1231) b736c5f chore: increment version (#1230) e767abb chore: refactor parser (#1191) 5f6b402 feat: Improve performance when generating spec with external dependencies (#1108) 3b580a0 feat: add --quiet=true for swag init, make the debug logger quiet. (#1206) ff41d9c feat: add basic generics support (#1225) 3cedab9 fix: README_zh-CN.md translate bug (#1202) 67cb768 fix: array enum varnames in arrays (#1187)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump golang from 1.18.2-alpine to 1.19.1-alpine

    chore(deps): Bump golang from 1.18.2-alpine to 1.19.1-alpine

    Bumps golang from 1.18.2-alpine to 1.19.1-alpine.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.5

    chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.5

    Bumps github.com/swaggo/swag from 1.8.2 to 1.8.5.

    Release notes

    Sourced from github.com/swaggo/swag's releases.

    v1.8.5

    Changelog

    2f148dd Extended generics support (#1277) 23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293) 732c087 doc: add function scoped struct declaration example (#1296) 45f01a1 feat: add function scoped struct parse (#1283) cf03796 feat: get swagger instance from register (#1298) af1c525 fix: Go generics cannot find common package object type definition (#1281) 9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)

    v1.8.4

    Changelog

    bd21bb0 Fix issue swaggo/swag#1150 (#1248) 401e414 doc: add missing web frameworks (#1263) a566490 feat: add default description to code if none is provided (#1239) a780e45 feat: default required option for struct fields (#1181) 213f6b8 feat: permit error (and any) interface definition (#1212) 89c61d4 feat: suppress debug logs when using -q (#1254) 0e2ec6c feat: use early overrides to allow converting unsupported types. (#1209) 1cd0b53 fix: don't skip ".." directory (#1238) 8de9952 fix: generic arrays generate successfully (#1247) 796a346 fix: temp dir to be the same as SerchDir to avoid invalid cross-device link (#1203) (#1241)

    v1.8.3

    Changelog

    f09eaa1 chore: cleanup generics_test.go (#1231) b736c5f chore: increment version (#1230) e767abb chore: refactor parser (#1191) 5f6b402 feat: Improve performance when generating spec with external dependencies (#1108) 3b580a0 feat: add --quiet=true for swag init, make the debug logger quiet. (#1206) ff41d9c feat: add basic generics support (#1225) 3cedab9 fix: README_zh-CN.md translate bug (#1202) 67cb768 fix: array enum varnames in arrays (#1187)

    Commits
    • a3935c5 chore: increment version (#1308)
    • 9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)
    • 732c087 doc: add function scoped struct declaration example (#1296)
    • cf03796 feat: get swagger instance from register (#1298)
    • 23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293)
    • 45f01a1 feat: add function scoped struct parse (#1283)
    • af1c525 fix: Go generics cannot find common package object type definition (#1281)
    • 2f148dd Extended generics support (#1277)
    • cc25410 chore: increment version to 1.8.4 (#1268)
    • 89c61d4 feat: suppress debug logs when using -q (#1254)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/http-swagger from 1.2.8 to 1.3.1

    chore(deps): Bump github.com/swaggo/http-swagger from 1.2.8 to 1.3.1

    Bumps github.com/swaggo/http-swagger from 1.2.8 to 1.3.1.

    Release notes

    Sourced from github.com/swaggo/http-swagger's releases.

    v1.3.1

    Changelog

    17bd559 chore: update github.com/go-openapi/spec to v0.20.6 (#74)

    v1.3.0

    Changelog

    7af1c17 chore: update swagger-ui to 4.11.0 (#72) 3446516 fix: http-swagger gorilla example (#71)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump golang from 1.18.2-alpine to 1.19.0-alpine

    chore(deps): Bump golang from 1.18.2-alpine to 1.19.0-alpine

    Bumps golang from 1.18.2-alpine to 1.19.0-alpine.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.9

    chore(deps): Bump github.com/swaggo/swag from 1.8.2 to 1.8.9

    Bumps github.com/swaggo/swag from 1.8.2 to 1.8.9.

    Release notes

    Sourced from github.com/swaggo/swag's releases.

    v1.8.9

    Changelog

    a10fb9a Just optimize code about parsing extensions (#1399) 4ccbeaf chore: increment version (#1423) 8139731 chore: parse escaped double colon (\:) example struct tag (#1402) 2c530ea chore: release candidate (#1403) e3151c1 chore: release candidate (#1404) e50db3e enhancement for enums (#1400) 7c20f30 feat: parse only specific extension tag (#1219) 80d5221 feat: support json tags in embedded structs (#1396) 4519064 feat: use enums in request (#1417) 9a4fa5d fix issue 1414 (#1419) 30684a2 fix parsing bug affected by fmt (#1398) 7867c24 fix: don't error on empty comment line (#1415) dfce6c8 parse self-nested generic struct (#1420) ba5df82 record token.FileSet for every file so that the position of parsing error can be acquired (#1393) 3fe9ca2 revert docker login-action (#1405)

    v1.8.9-rc3

    Changelog

    97634c6 chore: v1.8.9-rc3 7c20f30 feat: parse only specific extension tag (#1219) 4519064 feat: use enums in request (#1417) 9a4fa5d fix issue 1414 (#1419) 7867c24 fix: don't error on empty comment line (#1415) dfce6c8 parse self-nested generic struct (#1420) 3fe9ca2 revert docker login-action (#1405)

    v1.8.9-rc2

    Changelog

    a10fb9a Just optimize code about parsing extensions (#1399) 8139731 chore: parse escaped double colon (\:) example struct tag (#1402) 2c530ea chore: release candidate (#1403) e3151c1 chore: release candidate (#1404) e50db3e enhancement for enums (#1400) 80d5221 feat: support json tags in embedded structs (#1396) 30684a2 fix parsing bug affected by fmt (#1398) ba5df82 record token.FileSet for every file so that the position of parsing error can be acquired (#1393)

    v1.8.8

    Changelog

    07690e9 Add check for nil otherTypeDef (#1372) eaed517 Enhancements: search imports sequencely, till find the type. (#1374) 0da94ff Fix generics with package alias (#1360) 29d3d30 add properties to $ref (#1391)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump golang from 1.18.2-alpine to 1.19.4-alpine

    chore(deps): Bump golang from 1.18.2-alpine to 1.19.4-alpine

    Bumps golang from 1.18.2-alpine to 1.19.4-alpine.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/rs/zerolog from 1.26.1 to 1.28.0

    chore(deps): Bump github.com/rs/zerolog from 1.26.1 to 1.28.0

    Bumps github.com/rs/zerolog from 1.26.1 to 1.28.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/swaggo/http-swagger from 1.2.8 to 1.3.3

    chore(deps): Bump github.com/swaggo/http-swagger from 1.2.8 to 1.3.3

    Bumps github.com/swaggo/http-swagger from 1.2.8 to 1.3.3.

    Release notes

    Sourced from github.com/swaggo/http-swagger's releases.

    v1.3.3

    Changelog

    21dd195 chore: fix build error 6ee8ad9 chore: remove google fonts (#75)

    v1.3.1

    Changelog

    17bd559 chore: update github.com/go-openapi/spec to v0.20.6 (#74)

    v1.3.0

    Changelog

    7af1c17 chore: update swagger-ui to 4.11.0 (#72) 3446516 fix: http-swagger gorilla example (#71)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/ory/dockertest/v3 from 3.8.1 to 3.9.1

    chore(deps): Bump github.com/ory/dockertest/v3 from 3.8.1 to 3.9.1

    Bumps github.com/ory/dockertest/v3 from 3.8.1 to 3.9.1.

    Commits
    • 7b25128 chore(deps): bump github.com/opencontainers/runc from 1.1.1 to 1.1.2 (#355)
    • 148c3da chore(deps): bump gotest.tools/v3 from 3.1.0 to 3.2.0 (#353)
    • e38b974 chore: containerd/continuity (#352)
    • cfab898 chore(deps): bump github.com/opencontainers/runc from 1.1.0 to 1.1.1 (#350)
    • f6f31ef chore(deps): bump github.com/cenkalti/backoff/v4 from 4.1.2 to 4.1.3 (#351)
    • 230039c fix: resource host for rootless containers (#348)
    • 23d5405 chore(deps): bump github.com/docker/cli (#349)
    • d93907d chore(deps): bump github.com/docker/cli (#345)
    • ef54b32 feat: add platform field to run options to support Apple M1 (#344)
    • 593d31d chore(deps): bump github.com/Microsoft/go-winio from 0.5.1 to 0.5.2 (#340)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): Bump github.com/joho/godotenv from 1.3.0 to 1.4.0

    chore(deps): Bump github.com/joho/godotenv from 1.3.0 to 1.4.0

    Bumps github.com/joho/godotenv from 1.3.0 to 1.4.0.

    Release notes

    Sourced from github.com/joho/godotenv's releases.

    Housekeeping release

    It's been a long road

    Sorry all, it's been a long time between releases. I have small children now!

    Biggest changes are: #133 Fix missing newline on exported files @​gnarlex #109 Export ints without quotes @​mniak #70 Support keynames starting with export @​hairyhenderson

    I'll try and come back and amend the release with other PR contributors, but thank you to everyone who sent patches in.

    Next release will include multiline variables.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Neural Networks written in go

gobrain Neural Networks written in go Getting Started The version 1.0.0 includes just basic Neural Network functions such as Feed Forward and Elman Re

Dec 20, 2022
A recommender system service based on collaborative filtering written in Go

Language: English | 中文 gorse: Go Recommender System Engine Build Coverage Report GoDoc RTD Demo gorse is an offline recommender system backend based o

Dec 29, 2022
A Naive Bayes SMS spam classifier written in Go.
A Naive Bayes SMS spam classifier written in Go.

Ham (SMS spam classifier) Summary The purpose of this project is to demonstrate a simple probabilistic SMS spam classifier in Go. This supervised lear

Sep 9, 2022
k-means clustering algorithm implementation written in Go
k-means clustering algorithm implementation written in Go

kmeans k-means clustering algorithm implementation written in Go What It Does k-means clustering partitions a multi-dimensional data set into k cluste

Dec 6, 2022
a* pathfinding algorithm written in go

astar a* (a-star) pathfinding algorithm written in go Wikipedia: EN: A* search algorithm DE: A*-Algorithmus Install go get github.com/jpierer/astar@ma

Mar 21, 2022
A simple utility, written in Go, for interacting with Salesforce.

Salesforce CLI A simple utility, written in Go, for interacting with Salesforce. Currently only specific functionality is implemented, and the output

Dec 14, 2021
A simple yet customisable program written in go to make hackerman-like terminal effects.
A simple yet customisable program written in go to make hackerman-like terminal effects.

stuntman a simple program written in go to make you look like a hackerman Demo stuntman -binar -width 90 -color cyan stuntman -text -width 90 -vertgap

Aug 4, 2022
ncurses matrix/log app written in go to visualize chess problems.

dorrella/matrix-curses Matrix using ncurses and gbin/goncurses. Visual matrix based puzzles Install need libncurses-dev. Probably hard to run on windo

Jan 12, 2022
Go Scoring API for PMML

Goscore Go scoring API for Predictive Model Markup Language (PMML). Currently supports Neural Network, Decision Tree, Random Forest and Gradient Boost

Dec 24, 2022
A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well
A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well

ocrserver Simple OCR server, as a small working sample for gosseract. Try now here https://ocr-example.herokuapp.com/, and deploy your own now. Deploy

Dec 28, 2022
go-paddle is a Go client library for accessing the Paddle API.

go-paddle go-paddle is a Go client library for accessing the Paddle API. Installation go get github.com/Fakerr/go-paddle Alternatively the same can be

Aug 22, 2022
Go-hubspot - An auto-generated go client library of all of Hubspot's API

go-hubspot This is an auto-generated go client library of all of Hubspot's API (

Jan 22, 2022
An online, full fledged bank system - ATM, online bank, transactions, bank cards

Bank An online, full fledged bank system - ATM, online bank, transactions, bank cards Online Bank: The online banking system can be used to send trans

Apr 2, 2022
Made from template temporalio/money-transfer-project-template-go
Made from template temporalio/money-transfer-project-template-go

Temporal Go Project Template This is a simple project for demonstrating Temporal with the Go SDK. The full 20 minute guide is here: https://docs.tempo

Jan 6, 2022
Money-transfer-project-template-go - A simple project for demonstrating Temporal with the Go SDK
Money-transfer-project-template-go - A simple project for demonstrating Temporal with the Go SDK

Temporal Go Project Template This is a simple project for demonstrating Temporal

Feb 5, 2022
Transfer files between machines in the same network

GoTrans Transfer files from computer A to computer B. The program have a sender and a receiver, if you choose a sender you'll need to provide the ip a

Nov 7, 2021
Personal tool used for transfer files between servers.

transfer Personal tool used for transfer files between servers. Usage: transfer [global options] <verb> [verb options] Global options: -h, --

Jan 5, 2022
🖥 Securely transfer and send anything between computers with TUI.
🖥 Securely transfer and send anything between computers with TUI.

??️ Securely transfer and send anything between computers with TUI. Installation ways

Dec 21, 2022
Side-scroller indie game written in go - "it costs money to be alive"
Side-scroller indie game written in go -

it costs money to be alive A short, non-fighty indie side scroller game. Run with the right / left arrow keys, jump with up arrow or space. Collect co

Nov 23, 2022
Mobile Money API Handyman

pesakit pesakit is a highly configurable commandline tool that comes in handy during testing and development of systems that integrate with mobile mon

Nov 22, 2021