Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: updated go version, removed duplicated code, more idiomatic approach #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

KostLinux
Copy link

  • Updated Go version to v1.23
  • Moved constructor to separate router.go file
  • Removed the dependency between emit_openapi.go and fastapi.go
  • Added dependabot and Golang CI Linter
  • Added swagger example, which contains additionally hosting the UI itself
  • Moved validateHandler and AddCall to separate validate_handler.go file to remove the dependency and duplicate code + tests added
  • Updated all the packages to secure less vulnerable versions

dependabot bot and others added 5 commits September 30, 2024 17:36
Bumps the go_modules group with 1 update in the / directory: [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin).


Updates `github.com/gin-gonic/gin` from 1.7.7 to 1.9.1
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](gin-gonic/gin@v1.7.7...v1.9.1)

Updates `golang.org/x/crypto` from 0.0.0-20200622213623-75b288015ac9 to 0.9.0
- [Commits](https://github.com/golang/crypto/commits/v0.9.0)

Updates `golang.org/x/net` from 0.0.0-20210421230115-4e50805a0758 to 0.10.0
- [Commits](https://github.com/golang/net/commits/v0.10.0)

Updates `golang.org/x/sys` from 0.0.0-20210420072515-93ed5bcd2bfe to 0.8.0
- [Commits](https://github.com/golang/sys/commits/v0.8.0)

Updates `golang.org/x/text` from 0.3.7 to 0.9.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.3.7...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/sys
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/text
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <[email protected]>
…s-5d8df8ee68

Bump the go_modules group across 1 directory with 5 updates
@KostLinux
Copy link
Author

Hey @sashabaranov !
I got inspired by the project. Could i ask you to check the PR update for the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant