| 68 | } |
| 69 | |
| 70 | type 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 | |
| 76 | func (a *Api) IdValue() int64 { |
| 77 | return a.Id |
nothing calls this directly
no outgoing calls
no test coverage detected