mirror of
https://github.com/foomo/gotsrpc.git
synced 2026-10-05 06:56:59 +00:00
16 lines
226 B
Go
16 lines
226 B
Go
package model
|
|
|
|
type StructType struct {
|
|
Name string
|
|
Package string
|
|
}
|
|
|
|
func (st *StructType) FullName() string {
|
|
fullName := st.Package + "." + st.Name
|
|
if len(fullName) == 0 {
|
|
fullName = st.Name
|
|
}
|
|
|
|
return fullName
|
|
}
|