You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/api/spec/name.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
}