-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve error handling and improve holiday tests (#63)
* improve error handling and improve holiday tests * fix client, add go.work file and update deps * add go.work file for v2/pkg
- Loading branch information
Showing
21 changed files
with
292 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
go 1.20 | ||
|
||
use ( | ||
. | ||
./v2 | ||
./v2/pkg | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE= | ||
golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,62 @@ | ||
module github.com/your-overtime/api/v2 | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/emersion/go-ical v0.0.0-20220601085725-0864dccc089f | ||
github.com/gin-gonic/gin v1.9.1 | ||
github.com/go-sql-driver/mysql v1.6.0 | ||
github.com/joho/godotenv v1.4.0 | ||
github.com/sirupsen/logrus v1.9.0 | ||
github.com/swaggo/files v0.0.0-20220728132757-551d4a08d97a | ||
github.com/swaggo/gin-swagger v1.5.3 | ||
github.com/swaggo/swag v1.8.5 | ||
golang.org/x/crypto v0.9.0 | ||
github.com/swaggo/files v1.0.1 | ||
github.com/swaggo/gin-swagger v1.6.0 | ||
github.com/swaggo/swag v1.16.1 | ||
github.com/your-overtime/api/v2/pkg v0.0.0-00010101000000-000000000000 | ||
golang.org/x/crypto v0.10.0 | ||
gorm.io/driver/mysql v1.3.6 | ||
gorm.io/driver/sqlite v1.3.6 | ||
gorm.io/gorm v1.23.9 | ||
) | ||
|
||
replace github.com/your-overtime/api/v2/pkg => ./pkg | ||
|
||
require ( | ||
github.com/KyleBanks/depth v1.2.1 // indirect | ||
github.com/bytedance/sonic v1.9.1 // indirect | ||
github.com/bytedance/sonic v1.9.2 // indirect | ||
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect | ||
github.com/gabriel-vasile/mimetype v1.4.2 // indirect | ||
github.com/gin-contrib/sse v0.1.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.20.0 // indirect | ||
github.com/go-openapi/spec v0.20.7 // indirect | ||
github.com/go-openapi/swag v0.22.3 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.6 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/spec v0.20.9 // indirect | ||
github.com/go-openapi/swag v0.22.4 // indirect | ||
github.com/go-playground/locales v0.14.1 // indirect | ||
github.com/go-playground/universal-translator v0.18.1 // indirect | ||
github.com/go-playground/validator/v10 v10.14.0 // indirect | ||
github.com/go-playground/validator/v10 v10.14.1 // indirect | ||
github.com/goccy/go-json v0.10.2 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.4 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.5 // indirect | ||
github.com/kr/pretty v0.3.0 // indirect | ||
github.com/leodido/go-urn v1.2.4 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/mattn/go-isatty v0.0.19 // indirect | ||
github.com/mattn/go-sqlite3 v1.14.15 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.8 // indirect | ||
github.com/rogpeppe/go-internal v1.8.0 // indirect | ||
github.com/teambition/rrule-go v1.8.0 // indirect | ||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||
github.com/ugorji/go/codec v1.2.11 // indirect | ||
golang.org/x/arch v0.3.0 // indirect | ||
golang.org/x/net v0.10.0 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
golang.org/x/text v0.9.0 // indirect | ||
golang.org/x/tools v0.6.0 // indirect | ||
google.golang.org/protobuf v1.30.0 // indirect | ||
golang.org/x/net v0.11.0 // indirect | ||
golang.org/x/sys v0.9.0 // indirect | ||
golang.org/x/text v0.10.0 // indirect | ||
golang.org/x/tools v0.10.0 // indirect | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.