mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 00:20:00 +08:00
26 lines
360 B
Go
26 lines
360 B
Go
|
|
package spec
|
||
|
|
|
||
|
|
func (t PrimitiveType) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|
||
|
|
|
||
|
|
func (t DefineStruct) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|
||
|
|
|
||
|
|
func (t MapType) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|
||
|
|
|
||
|
|
func (t ArrayType) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|
||
|
|
|
||
|
|
func (t PointerType) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|
||
|
|
|
||
|
|
func (t InterfaceType) Name() string {
|
||
|
|
return t.RawName
|
||
|
|
}
|