get item desc
This commit is contained in:
@@ -2,6 +2,10 @@ package object
|
|||||||
|
|
||||||
type Name int
|
type Name int
|
||||||
|
|
||||||
|
func (n Name) Desc() Description {
|
||||||
|
return Desc[int(n)]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
NotApplicable Name = iota - 1
|
NotApplicable Name = iota - 1
|
||||||
TestData1
|
TestData1
|
||||||
|
|||||||
Reference in New Issue
Block a user