feat: add entgo mixin and sonyflake.

This commit is contained in:
tx7do
2023-05-23 06:37:26 +08:00
parent 184569fee7
commit 1d868f69c2
7 changed files with 160 additions and 153 deletions

2
go.mod
View File

@@ -8,6 +8,7 @@ require (
github.com/go-kratos/kratos/v2 v2.6.2
github.com/google/uuid v1.3.0
github.com/oschwald/geoip2-golang v1.8.0
github.com/sony/sonyflake v1.1.0
github.com/stretchr/testify v1.8.3
golang.org/x/crypto v0.9.0
)
@@ -28,7 +29,6 @@ require (
github.com/oschwald/maxminddb-golang v1.10.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/zclconf/go-cty v1.13.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect