1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

lazy array get

This commit is contained in:
Tao Wen
2017-01-24 22:56:18 +08:00
parent fa165c684f
commit ee54218b0a
8 changed files with 22 additions and 27 deletions

View File

@ -18,6 +18,10 @@ type Any interface {
type baseAny struct {}
func (any *baseAny) Get(path ...interface{}) Any {
return &invalidAny{}
}
func (any *baseAny) Size() int {
return 0
}