mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-16 21:12:26 +08:00
init commit
This commit is contained in:
7
service/annie-user-api/entity/test_entity.go
Normal file
7
service/annie-user-api/entity/test_entity.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package entity
|
||||
|
||||
type TestEntity struct {
|
||||
ID uint64
|
||||
Name string
|
||||
Age int64
|
||||
}
|
||||
8
service/annie-user-api/entity/user_entity.go
Normal file
8
service/annie-user-api/entity/user_entity.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package entity
|
||||
|
||||
type User struct {
|
||||
Uid uint64
|
||||
Username string
|
||||
Password string
|
||||
IsAdmin bool
|
||||
}
|
||||
3
service/annie-user-api/go.mod
Normal file
3
service/annie-user-api/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module annie-user-api
|
||||
|
||||
go 1.19
|
||||
Reference in New Issue
Block a user