├── .gitignore ├── LICENSE ├── README.md ├── example └── example.go ├── go.mod ├── go.sum ├── json2struct.go ├── json2struct_test.go ├── map2struct.go ├── map2struct_test.go ├── util └── util.go ├── yaml2struct.go └── yaml2struct_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/README.md -------------------------------------------------------------------------------- /example/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/example/example.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/NICEXAI/go2struct 2 | 3 | go 1.17 4 | 5 | require gopkg.in/yaml.v2 v2.4.0 6 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/go.sum -------------------------------------------------------------------------------- /json2struct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/json2struct.go -------------------------------------------------------------------------------- /json2struct_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/json2struct_test.go -------------------------------------------------------------------------------- /map2struct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/map2struct.go -------------------------------------------------------------------------------- /map2struct_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/map2struct_test.go -------------------------------------------------------------------------------- /util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/util/util.go -------------------------------------------------------------------------------- /yaml2struct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/yaml2struct.go -------------------------------------------------------------------------------- /yaml2struct_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NICEXAI/go2struct/HEAD/yaml2struct_test.go --------------------------------------------------------------------------------