-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: tuotoo/biu
base: v0.6.6
head repository: tuotoo/biu
compare: v0.6.8
- 8 commits
- 11 files changed
- 1 contributor
Commits on May 4, 2024
-
chore: upgrade dependency packages and refactor route API validation
- Upgrade `github.com/go-playground/validator/v10` from `v10.19.0` to `v10.20.0` - Upgrade `github.com/pelletier/go-toml/v2` from `v2.2.1` to `v2.2.2` - Upgrade `google.golang.org/protobuf` from `v1.33.0` to `v1.34.0` - Replace `validateStruct` function in `route_api.go` with `StructCtx` function. - Add `Get` function in struct `defaultValidator` in `route_api.go`. - Enable required struct validation when initializing validator in `lazyInit` function in `route_api.go`. - Call `StructCtx` instead of `validateStruct` in function `RouteAPI` in `route_api.go`. Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a1dfa8 - Browse repository at this point
Copy the full SHA 7a1dfa8View commit details
Commits on May 18, 2024
-
chore: refactor dependencies and improve code documentation
- Corrected a typo in the comment for the `Bind` function in `box/ctx.go`. - Changed the `AutoGenPathDoc` variable from `false` to `true` in `go-restful-helper.go`. - Updated the versions of `github.com/gin-gonic/gin` and `github.com/fatih/color` dependencies in `go.mod`. - Removed `github.com/google/go-cmp` dependency from `go.mod`. - Updated the version of `github.com/valyala/fasthttp` and other indirect dependencies in `go.mod`. - Added `PathExpression` type alias in `internal/extras.go` and used it in the `NewPathExpression` function. Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2400b6f - Browse repository at this point
Copy the full SHA 2400b6fView commit details
Commits on May 29, 2024
-
chore: update dependencies and add error handling libraries
- Updated `go-restful/v3` from version `v3.12.0` to `v3.12.1` - Updated `slog-multi` from version `v1.0.2` to `v1.0.3` - Updated `sonic` from version `v1.11.6` to `v1.11.7` - Updated `mimetype` from version `v1.4.3` to `v1.4.4` - Updated `go-json` from version `v0.10.2` to `v0.10.3` - Added `errwrap` version `v1.1.0` - Added `go-multierror` version `v1.1.1` - Updated `fasthttp` from version `v1.53.0` to `v1.54.0` - Updated `x/exp` from `v0.0.0-20240506185415-9bf2ced13842` to `v0.0.0-20240529005216-23cca8864a10` Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36ded49 - Browse repository at this point
Copy the full SHA 36ded49View commit details
Commits on Jun 5, 2024
-
feat: refactor internal modules and enhance name handling
- Deleted file `internal/biu.s`. - Added new module `internal/camel_to_snake.go` that contains the function `CamelToSnake`. This function converts text from camel case to snake case. - Removed file `internal/extras.go` which contained a few functions and a type alias. - Introduced new module `internal/name_of_function.go` that provides the `NameOfFunction` function, which returns the short name of the function for documentation. - Created new file `internal/path_expression.go` implementing a PathExpression struct and related functions. These handle the conversion of a URL path into a regular expression for matching HTTP request paths and extracting path parameter values. Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d76f39 - Browse repository at this point
Copy the full SHA 0d76f39View commit details -
refactor: refactor httpexpect initialization in TestServer struct
- Change the `httpexpect` initialization from `New` to `Default` in the `WithT` function of the `TestServer` struct in the go-restful-helper file. Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bb0512 - Browse repository at this point
Copy the full SHA 1bb0512View commit details -
refactor: refactor main.go and enhance error handling
- Remove the import of "braces.dev/errtrace" from main.go - Replace the `getBar` method with a new version that accepts a struct as a parameter and includes a return function - Adjust the text of the 200 error message to specify the problem as an invalid number - Change `RouteTo` to `RouteAPI` in the `WebService` method - Remove the query parameter from error handling in the `WebService` method Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5389bcf - Browse repository at this point
Copy the full SHA 5389bcfView commit details -
chore: update and modify package dependencies
- Remove the dependency braces.dev/errtrace v0.3.0 - Upgrade the version of github.com/go-playground/validator/v10 from v10.20.0 to v10.21.0 - Remove the dependency github.com/mailru/easyjson v0.7.7 initially, and then re-add it indirectly - Upgrade the version of github.com/bytedance/sonic from v1.11.7 to v1.11.8 - Upgrade the version of golang.org/x/exp from v0.0.0-20240529005216-23cca8864a10 to v0.0.0-20240531132922-fd00a4e0eefc Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d490db - Browse repository at this point
Copy the full SHA 6d490dbView commit details -
chore: update package dependencies and remove unused ones
- Upgrade `slog-multi` package from `v1.0.3` to `v1.1.0` - Remove `errwrap` and `go-multierror` packages from project dependencies - Update versions of `x/crypto`, `x/exp`, `x/net`, `x/sys`, and `x/text` packages Signed-off-by: Jqs7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dbb314 - Browse repository at this point
Copy the full SHA 5dbb314View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.6.6...v0.6.8