MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Api

Struct Api

stores/server/model.go:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70type Api struct {
71 Id int64 `gorm:"type:BIGINT(20);size:20;not null;auto_increment;primary_key;column:id;comment:主键ID;"`
72 Suid string `gorm:"size:36;not null;column:suid;uniqueIndex:suid_api;index:suid;comment:服务id;"`
73 Api string `gorm:"size:36;not null;column:api;uniqueIndex:sid_api;comment:api id;index:api;"`
74}
75
76func (a *Api) IdValue() int64 {
77 return a.Id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected