Go Domain Drived Design / Service repository pattern

Go Domain Drived Design / Service repository pattern

Simple api domain drived design / service repository pattern

API Overview

every api (for each domain model) is structured like below:

handler <----rest api endpoint
|
service <----service layer, main business logic of the api lives here
|
store <---- database logic, operation related to database fetching

Swagger docs

to access the swagger docs, go to: $APP_HOST/swagger/index.html

to generate new updated swagger docs, install:

go get -u github.com/swaggo/swag/cmd/swag

to generate docs, in the project root directory, run:

go swag init -g cmd/APPFOLDER/tngrm-APP-api.go docs/APPFOLDER/

if you're having issues like "swag command not found" set the go path variable in project root directory:

export PATH=$(go env GOPATH)/bin:$PATH

note:

remember to generate swagger docs BEFORE running the ./build.sh script.

for other info about go swag, refer to: https://github.com/swaggo/swag

Owner
Allan Nava
XXVI | Milan | Z9 Street Workout | 🇮🇹 | 🔹Full Stack Developer IES Italia/HiWay Media
Allan Nava
Comments
  • Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.0

    Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.0

    Bumps github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.0.

    Release notes

    Sourced from github.com/gofiber/fiber/v2's releases.

    v2.40.0

    ❗ BreakingChange

    • Bump github.com/valyala/fasthttp from 1.40.0 to 1.41.0 (#2171)
    • Deprecate: go 1.14 & go 1.15 support deprecation (#2172)

    Due to the fact that fasthttp, which fiber is based on in release 1.41.0, does not support go versions 1.14 & 1.15 anymore, we had to remove them from our package as well.

    🚀 New

    // now you can add your own custom methods
    app := fiber.New(fiber.Config{
        RequestMethods: append(fiber.DefaultMethods, "LOAD", "TEST"),
    })
    

    app.Add("LOAD", "/hello", func(c *fiber.Ctx) error { return c.SendString("Hello, World 👋!") })

    // declaration of multiple paths for the ".Use" method as in express is now possible
    app.Use([]string{"/john", "/doe"}, func(c *Ctx) error {
        return c.SendString(c.Path())
    })
    
    app.Get("/:userId<int>?", func(c *fiber.Ctx) error {
        return c.SendString(c.Params("userId"))
    })
    // curl -X GET http://localhost:3000/42
    // 42
    

    // curl -X GET http://localhost:3000/ //

    app := fiber.New()
    micro := fiber.New()
    // order when registering the mounted apps no longer plays a role
    app.Mount("/john", micro)
    // before there was problem when after mounting routes were registered
    </tr></table> 
    

    ... (truncated)

    Commits
    • c8baa61 prepare release v2.40.0
    • e4b3b5c Improve interface for custom logger func (#2225)
    • 92ce4aa :memo: Update middleware/logger docs (#2224)
    • 3d39b82 logger: adjustment for the new Done function - use nil instead of empty func
    • e8f8cb6 :sparkles: Add customTags in logger middleware Config (#2188)
    • 3157fb5 :sparkles: Add callback function for middleware/logger (#2219)
    • 61b4496 Track Configured Values (#2221)
    • 235cd9d ctx: simplify Protocol() (#2217)
    • b288a9f ctx: make Secure() also report whether a secure connection was established to...
    • a0645af Fix and optimize memory storage (#2207)
    • 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)
  • Bump gorm.io/gorm from 1.22.5 to 1.24.2

    Bump gorm.io/gorm from 1.22.5 to 1.24.2

    Bumps gorm.io/gorm from 1.22.5 to 1.24.2.

    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)
  • Bump gorm.io/gorm from 1.22.5 to 1.24.1

    Bump gorm.io/gorm from 1.22.5 to 1.24.1

    Bumps gorm.io/gorm from 1.22.5 to 1.24.1.

    Commits
    • b2f4252 fix(Joins): args with select and omit (#5790)
    • 9d82aa5 test: invalid cache plan with prepare stmt (#5778)
    • 5dd2bb4 feat(PreparedStmtDB): support reset (#5782)
    • 3f20a54 Support use clause.Interface as query params
    • 62593cf add test: TestAutoMigrateInt8PG: shouldn't execute ALTER COLUMN TYPE smallint...
    • a0f4d3f Save as empty string for not nullable nil field serialized into json
    • ab5f80a Save as NULL for nil object serialized into json
    • 186e8a9 fix: association without pks (#5779)
    • 2a788fb Upgrade tests go.mod
    • aa4312e Don't display any GORM related package path as source
    • 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)
  • Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.39.0

    Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.39.0

    Bumps github.com/gofiber/fiber/v2 from 2.34.1 to 2.39.0.

    Release notes

    Sourced from github.com/gofiber/fiber/v2's releases.

    v2.39.0

    🚀 New

    🧹 Updates

    • Improve memory storage (#2162)
    • Make IP validation 2x faster (#2158)
    • Switch to text/javascript as per RFC9239 (#2146)
    • Test: add nil jsonDecoder test case (#2139)
    • Utils: update mime extensions (#2133)

    🐛 Fixes

    • Unhandled errors and update code comments to help the IDEs (#2128)
    • Multi-byte AppName displays confusion (#2148)
    • Query string parameter pass to fiber context (#2164)
    • Handle multiple X-Forwarded header (#2154)
    • Middleware/proxy - solve data race in middleware/proxy's test (#2153)
    • Middleware/session - Reset d.Data instead of deleting keys in it (#2156)
    • Agent: agent.Struct fails to unmarshal response since 2.33.0 #2134 (#2137)

    📚 Documentation

    • Update logger's comment (#2157)
    • Update ReadmeID (#2150)
    • Add doc about usage of CSRF and EncryptCookie middlewares. (#2141)
    • Update language count (#2131)
    • Typos (#2127)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.38.1...v2.39.0

    Thank you @​Kamandlou, @​Yureien, @​efectn, @​floxydio, @​fufuok, @​joseroberto, @​leonklingele, @​li-jin-gou, @​marcmartin13, @​nathanfaucett, @​sadfun, @​supakornbabe, @​unickorn and @​xbt573 for making this update possible.

    v2.38.1

    🚀 New

    🧹 Updates

    ... (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)
  • Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.3

    Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.3

    Bumps gorm.io/driver/sqlite from 1.2.6 to 1.4.3.

    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)
  • Bump gorm.io/gorm from 1.22.5 to 1.24.0

    Bump gorm.io/gorm from 1.22.5 to 1.24.0

    Bumps gorm.io/gorm from 1.22.5 to 1.24.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)
  • Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.2

    Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.2

    Bumps gorm.io/driver/sqlite from 1.2.6 to 1.4.2.

    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)
  • Bump gorm.io/gorm from 1.22.5 to 1.23.10

    Bump gorm.io/gorm from 1.22.5 to 1.23.10

    Bumps gorm.io/gorm from 1.22.5 to 1.23.10.

    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)
  • Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.38.1

    Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.38.1

    Bumps github.com/gofiber/fiber/v2 from 2.34.1 to 2.38.1.

    Release notes

    Sourced from github.com/gofiber/fiber/v2's releases.

    v2.38.1

    🚀 New

    🧹 Updates

    🐛 Fixes

    • Test: fix Test_Ctx_ParamParser route param (#2119)
    • SchemaPasers: Same struct parse param failed (#2101)
    • Fix ctx.SendStream(io.Reader) huge memory usage (#2091)

    📚 Documentation

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.37.1...v2.38.1

    Thank you @​Kamandlou, @​dayuoba, @​efectn, @​hakankutluay, @​li-jin-gou, @​nnnkkk7 and @​trim21 for making this update possible.

    v2.37.1

    🧹 Updates

    • Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#2075)
    • Unhandled errors in app_test.go (#2071)
    • Unhandled error in hooks test (#2070)

    🐛 Fixes

    • Constraints when to use multiple params (#2077)
    • Unhandle in strictmode (#2055)
    • EnvVar middleware parses base64 incorrectly (#2069)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.37.0...v2.37.1

    Thank you @​Kamandlou, @​efectn, @​fufuok and @​wangjq4214 for making this update possible.

    v2.37.0

    ... (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)
  • Bump gorm.io/gorm from 1.22.5 to 1.23.9

    Bump gorm.io/gorm from 1.22.5 to 1.23.9

    Bumps gorm.io/gorm from 1.22.5 to 1.23.9.

    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)
  • Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.37.1

    Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.37.1

    Bumps github.com/gofiber/fiber/v2 from 2.34.1 to 2.37.1.

    Release notes

    Sourced from github.com/gofiber/fiber/v2's releases.

    v2.37.1

    🧹 Updates

    • Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#2075)
    • Unhandled errors in app_test.go (#2071)
    • Unhandled error in hooks test (#2070)

    🐛 Fixes

    • Constraints when to use multiple params (#2077)
    • Unhandle in strictmode (#2055)
    • EnvVar middleware parses base64 incorrectly (#2069)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.37.0...v2.37.1

    Thank you @​Kamandlou, @​efectn, @​fufuok and @​wangjq4214 for making this update possible.

    v2.37.0

    🚀 New

    🧹 Updates

    • Remove prefork support from custom listeners (#2060)
    • Make IP() and IPs() more reliable (#2020)
    • Bump github.com/valyala/fasthttp from 1.38.0 to 1.39.0 (#2017)
    • Add go 1.19 to tests (#1994)
    • Add black colors to default overriding function (#1993)

    🧹 Cleanup

    • Unhandled errors in helpers_test.go (#2058)
    • Unhandled error in common_linux.go (#2056)
    • Handle file error on closing (#2050)
    • Unhandled error in cache package tests (#2049)
    • Unhandled errors and remove unused parameter (#2061)
    • Unhandled errors in tests (#2048)

    🐛 Fixes

    ... (truncated)

    Commits
    • 012a2b1 prepare release v2.37.1
    • 35753f7 :bug: bug: fix constraints when to use multiple params (#2077)
    • bb10225 Update release-drafter.yml
    • 22239f6 Update release-drafter.yml
    • 8dfbd94 Add changelog link to release drafter
    • 3bbeb4e Add changelog link to release drafter
    • e8c93e6 🐛 [Fix]: unhandle in strictmode (#2055)
    • 9fc80fc Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#2075)
    • c8b1879 fix unhandled errors in app_test.go (#2071)
    • 87faeda 🐛 Fix: EnvVar middleware parses base64 incorrectly (#2069)
    • 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)
  • Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.4

    Bump gorm.io/driver/sqlite from 1.2.6 to 1.4.4

    Bumps gorm.io/driver/sqlite from 1.2.6 to 1.4.4.

    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)
  • Bump gorm.io/gorm from 1.22.5 to 1.24.3

    Bump gorm.io/gorm from 1.22.5 to 1.24.3

    Bumps gorm.io/gorm from 1.22.5 to 1.24.3.

    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)
  • Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.1

    Bump github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.1

    Bumps github.com/gofiber/fiber/v2 from 2.34.1 to 2.40.1.

    Release notes

    Sourced from github.com/gofiber/fiber/v2's releases.

    v2.40.1

    🐛 Fixes

    • Fix mounting when mount prefix is / (#2227)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.40.0...v2.40.1

    v2.40.0

    ❗ BreakingChange

    • Bump github.com/valyala/fasthttp from 1.40.0 to 1.41.0 (#2171)
    • Deprecate: go 1.14 & go 1.15 support deprecation (#2172)

    Due to the fact that fasthttp, which fiber is based on in release 1.41.0, does not support go versions 1.14 & 1.15 anymore, we had to remove them from our package as well.

    🚀 New

    // now you can add your own custom methods
    app := fiber.New(fiber.Config{
        RequestMethods: append(fiber.DefaultMethods, "LOAD", "TEST"),
    })
    

    app.Add("LOAD", "/hello", func(c *fiber.Ctx) error { return c.SendString("Hello, World 👋!") })

    // declaration of multiple paths for the ".Use" method as in express is now possible
    app.Use([]string{"/john", "/doe"}, func(c *Ctx) error {
        return c.SendString(c.Path())
    })
    
    app.Get("/:userId<int>?", func(c *fiber.Ctx) error {
        return c.SendString(c.Params("userId"))
    })
    // curl -X GET http://localhost:3000/42
    // 42
    

    // curl -X GET http://localhost:3000/ //

    • Improve mounting behavior (#2120)

    ... (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)
  • Bump github.com/caarlos0/env/v6 from 6.9.1 to 6.10.1

    Bump github.com/caarlos0/env/v6 from 6.9.1 to 6.10.1

    Bumps github.com/caarlos0/env/v6 from 6.9.1 to 6.10.1.

    Release notes

    Sourced from github.com/caarlos0/env/v6's releases.

    v6.10.1

    Changelog

    Bug fixes

    • f3ddf1f7ee602a224429717ddc431e9083d45882: fix: non empty struct pointer value (#236) (@​akutuev)

    Released with GoReleaser Pro!

    v6.10.0

    Changelog

    New Features

    • 69c7b5a1dc8b2c4e78a7211aef3fd102333e4e4f: feat: aggregate validation errors (#233) (@​akutuev)

    Bug fixes

    • 439dbad60f367bc1995f066cf9127743d468a572: fix: RequiredIfNoDef with nested structs (#229) (@​HarmlessEvil)

    Documentation updates

    • 60b5226da3e5e4ca3dcb795b8416f30c5cb2c5a9: docs: broken link (@​caarlos0)
    • 4c93d81012635da80954a1b3ec2e30566aa1b9d9: docs: remove duplicate string (#232) (@​dacapoday)

    Released with GoReleaser Pro!

    v6.9.3

    Changelog

    Bug fixes

    • a5d7cf5cd3ece44b603ffd8ce4a481b8432ed067: fix: custom parsers with anon inner structs (#227) (@​caarlos0)

    Released with GoReleaser Pro!

    v6.9.2

    Changelog

    Bug fixes

    • 302a1031fb7c5e9de120b467f7ec1c636cd923e5: fix: race condition in ParseWithFuncs (#223) (@​caarlos0)

    Other work

    • 8eb2e726db15f6d74b8225095da3c70a0aadfcb1: refactor: remove unneccessary line (#212) (@​gozeloglu)

    ... (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)
  • Bump reviewdog/action-golangci-lint from 2.0.3 to 2.2.1

    Bump reviewdog/action-golangci-lint from 2.0.3 to 2.2.1

    Bumps reviewdog/action-golangci-lint from 2.0.3 to 2.2.1.

    Release notes

    Sourced from reviewdog/action-golangci-lint's releases.

    Release v2.2.1

    What's Changed

    Full Changelog: https://github.com/reviewdog/action-golangci-lint/compare/v2.2.0...v2.2.1

    Release v2.2.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/reviewdog/action-golangci-lint/compare/v2.1.7...v2.2.0

    Release v2.1.7

    What's Changed

    Full Changelog: https://github.com/reviewdog/action-golangci-lint/compare/v2.1.6...v2.1.7

    Release v2.1.6

    What's Changed

    ... (truncated)

    Commits
    • 70498f2 Merge pull request #392 from upamune/fix-go-version-file-path
    • e61ede7 fix setup-go to run always
    • 8539903 npm run package
    • 3f5eb4c add go_version_file input to action.yml
    • f5f5397 fix default version to be set by code instead of action.yml
    • 99a63a1 Merge pull request #389 from upamune/add-go-version-file-input
    • 60bc741 Merge pull request #391 from reviewdog/renovate/eslint-8.x
    • 2fce891 chore(deps): update dependency eslint to v8.22.0
    • ac3e818 add go_version_file input
    • 998982c Merge pull request #390 from reviewdog/renovate/node-16.x
    • 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)
  • Bump github/codeql-action from 1 to 2

    Bump github/codeql-action from 1 to 2

    Bumps github/codeql-action from 1 to 2.

    Changelog

    Sourced from github/codeql-action's changelog.

    2.1.8 - 08 Apr 2022

    • Update default CodeQL bundle version to 2.8.5. #1014
    • Fix error where the init action would fail due to a GitHub API request that was taking too long to complete #1025

    2.1.7 - 05 Apr 2022

    • A bug where additional queries specified in the workflow file would sometimes not be respected has been fixed. #1018

    2.1.6 - 30 Mar 2022

    • [v2+ only] The CodeQL Action now runs on Node.js v16. #1000
    • Update default CodeQL bundle version to 2.8.4. #990
    • Fix a bug where an invalid commit_oid was being sent to code scanning when a custom checkout path was being used. #956
    Commits
    • 2c03704 Allow the version of the ML-powered pack to depend on the CLI version
    • dd6b592 Simplify ML-powered query status report definition
    • a90d8bf Merge pull request #1011 from github/henrymercer/ml-powered-queries-pr-check
    • dc0338e Use latest major version of actions/upload-artifact
    • 57096fe Add a PR check to validate that ML-powered queries are run correctly
    • b0ddf36 Merge pull request #1012 from github/henrymercer/update-actions-major-versions
    • 1ea2f2d Merge branch 'main' into henrymercer/update-actions-major-versions
    • 9dcc141 Merge pull request #1010 from github/henrymercer/stop-running-ml-powered-quer...
    • ea751a9 Update other Actions from v2 to v3
    • a2949f4 Update actions/checkout from v2 to v3
    • 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)
Related tags
llb - It's a very simple but quick backend for proxy servers. Can be useful for fast redirection to predefined domain with zero memory allocation and fast response.

llb What the f--k it is? It's a very simple but quick backend for proxy servers. You can setup redirect to your main domain or just show HTTP/1.1 404

Sep 27, 2022
A SimpleHTTPServer written in Go, enhanced with features and with a nice design
A SimpleHTTPServer written in Go, enhanced with features and with a nice design

goshs is a replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S with either self-signed certificate or user provi

Dec 28, 2022
A pizza store design using NATS pub sub queue.
A pizza store design using NATS pub sub queue.

A pizza store design using NATS pub sub queue.

Oct 12, 2022
Support for Unix domain sockets in Go HTTP clients

unixtransport This package adds support for Unix domain sockets in Go HTTP clients. t := &http.Transport{...} unixtransport.Register(t) client := &h

Dec 21, 2022
System Design course at HSE (2021)

System Design course at HSE (2021) Wiki-страница курса Структура репозитория: slides - директория с презентациями с занятий tasks - материалы для выпо

Dec 25, 2022
Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com).

Go Modules Remote Import Path Proxy Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com). For example Uber (buil

Nov 2, 2021
🛡 Several domain lists compiled into a database file used by V2Ray.

Domain list database This project is pulled from v2fly/domain-list-community, with only its data changed to use several blocklists. Purpose of this pr

May 22, 2022
Go network programming framework, supports multiplexing, synchronous and asynchronous IO mode, modular design, and provides flexible custom interfaces
Go network programming framework, supports multiplexing, synchronous and asynchronous IO mode, modular design, and provides flexible custom interfaces

Go network programming framework, supports multiplexing, synchronous and asynchronous IO mode, modular design, and provides flexible custom interfaces。The key is the transport layer, application layer protocol has nothing to do

Nov 7, 2022
Serve traffic (HTTP/gRPC) over SSH using Domain Sockets

Serve On SSH Introduction There is often a need to offer services for administrative purposes on servers or even for microservices that are running on

Nov 10, 2022
Automatically register a list of domain names, add them to Cloudflare and set DNS records.

NameCannon Automatically register a list of domain names, add them as zones on Cloudflare, then add DNS records. Usage $ ./NameCannon --namesiloSecret

Jan 26, 2022
A quick and dirty but useful tool to download each text/html page from the wayback machine for a specific domain and search for keywords within the saved content

wayback-keyword-search A quick and dirty but useful tool to download each text/html page from the wayback machine for a specific domain and search for

Dec 2, 2022
Transparent TLS and HTTP proxy serve and operate on all 65535 ports, with domain regex whitelist and rest api control

goshkan Transparent TLS and HTTP proxy serve & operating on all 65535 ports, with domain regex whitelist and rest api control tls and http on same por

Nov 5, 2022
Simple forwarding a unix domain socket to a local port.

WaziApp Proxy WaziApp proxy is a simple http proxy that is intended to listen on the WaziApp unix socket /var/lib/waziapp/proxy.sock and forwards to a

Nov 18, 2021
Extract domain from SSL Information

Extract domain from SSL Information

Dec 7, 2022
A sample web API in GO (with GIn) under a domain driven architecture.

Golang Sample API Domain Driven Design Pattern 1. About This sample project presents a custom made domain driven API architecture in Golang using the

Jan 10, 2022
Go package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name,

IP2Location Go Package This Go package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, co

Jan 8, 2023
Golang tool to parse netblocks and domain names from SPF and get information about ASN
Golang tool to parse netblocks and domain names from SPF and get information about ASN

gospf Example Install go get github.com/incogbyte/gospf # get from releases ht

Nov 14, 2022
Assanlab - JSON input data with counts on how many times you showed an ad on each individual domain

JSON input data with counts on how many times you showed an ad on each individua

Dec 31, 2021
Remake of the original sqlifinder but in GOlang, and allows for listed targets, domain crawling, and tor connections
Remake of the original sqlifinder but in GOlang, and allows for listed targets, domain crawling, and tor connections

_______ _____ _____ _______ _____ __ _ ______ _______ ______ |______ | __| | | |______ | | \ | | \ |______ |_____/

Jan 4, 2023