/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
vendor/github.com/lestrrat-go/jsref/interface.go
23 строки
416 B
Lukasz Szaszkiewicz
bump(*)
28 окт 2019, 15:15
28 окт 2019, 15:15
08e192b
Код
Авторство
О чём код?
package jsref import ( "errors" "net/url" "reflect" ) var zeroval = reflect.Value{} var ErrMaxRecursion = errors.New("reached max number of recursions") // Resolver is responsible for interpreting the provided JSON // reference. type Resolver struct { providers []Provider MaxRecursions int } // Provider resolves a URL into a ... thing. type Provider interface { Get(*url.URL) (interface{}, error) }