├── .dockerignore ├── .envrc.sample ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── mergeable.yml └── workflows │ ├── benchmark.yml │ └── ci.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── TODO.md ├── benchmark_test.go ├── cmd └── strucmd │ └── main.go ├── docker └── test │ └── Dockerfile ├── dynamicstruct ├── benchmark_test.go ├── builder.go ├── decoder │ ├── benchmark_test.go │ ├── data_type.go │ ├── decoder.go │ ├── decoder_test.go │ └── example_test.go ├── dynamicstruct.go ├── dynamicstruct_test.go └── example_test.go ├── example_test.go ├── finder.go ├── finder_test.go ├── getter.go ├── getter_test.go ├── go.mod ├── go.sum ├── internal └── dumpwriter.go ├── scripts ├── _prepare.sh ├── packages.sh └── version.sh ├── testdata └── finder_from_conf │ ├── ex_json.json │ ├── ex_test1_json.json │ ├── ex_test1_yml.yml │ ├── ex_test2_yml.yml │ ├── ex_test3_yml.yml │ ├── ex_test4_yml.yml │ ├── ex_test5_yml.yml │ ├── ex_test_empty_yml.yml │ ├── ex_test_invalid_yml.yml │ ├── ex_test_nonkeys_yml.yml │ └── ex_yml.yml ├── util ├── benchmark_test.go ├── reflect_util.go └── reflect_util_test.go ├── version.go └── version_test.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.dockerignore -------------------------------------------------------------------------------- /.envrc.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.envrc.sample -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/mergeable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.github/mergeable.yml -------------------------------------------------------------------------------- /.github/workflows/benchmark.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.github/workflows/benchmark.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/TODO.md -------------------------------------------------------------------------------- /benchmark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/benchmark_test.go -------------------------------------------------------------------------------- /cmd/strucmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/cmd/strucmd/main.go -------------------------------------------------------------------------------- /docker/test/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/docker/test/Dockerfile -------------------------------------------------------------------------------- /dynamicstruct/benchmark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/benchmark_test.go -------------------------------------------------------------------------------- /dynamicstruct/builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/builder.go -------------------------------------------------------------------------------- /dynamicstruct/decoder/benchmark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/decoder/benchmark_test.go -------------------------------------------------------------------------------- /dynamicstruct/decoder/data_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/decoder/data_type.go -------------------------------------------------------------------------------- /dynamicstruct/decoder/decoder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/decoder/decoder.go -------------------------------------------------------------------------------- /dynamicstruct/decoder/decoder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/decoder/decoder_test.go -------------------------------------------------------------------------------- /dynamicstruct/decoder/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/decoder/example_test.go -------------------------------------------------------------------------------- /dynamicstruct/dynamicstruct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/dynamicstruct.go -------------------------------------------------------------------------------- /dynamicstruct/dynamicstruct_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/dynamicstruct_test.go -------------------------------------------------------------------------------- /dynamicstruct/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/dynamicstruct/example_test.go -------------------------------------------------------------------------------- /example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/example_test.go -------------------------------------------------------------------------------- /finder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/finder.go -------------------------------------------------------------------------------- /finder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/finder_test.go -------------------------------------------------------------------------------- /getter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/getter.go -------------------------------------------------------------------------------- /getter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/getter_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/go.sum -------------------------------------------------------------------------------- /internal/dumpwriter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/internal/dumpwriter.go -------------------------------------------------------------------------------- /scripts/_prepare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/scripts/_prepare.sh -------------------------------------------------------------------------------- /scripts/packages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/scripts/packages.sh -------------------------------------------------------------------------------- /scripts/version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/scripts/version.sh -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_json.json -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test1_json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test1_json.json -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test1_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test1_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test2_yml.yml: -------------------------------------------------------------------------------- 1 | Keys: 2 | - NonExist 3 | -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test3_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test3_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test4_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test4_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test5_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test5_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test_empty_yml.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test_invalid_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test_invalid_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_test_nonkeys_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_test_nonkeys_yml.yml -------------------------------------------------------------------------------- /testdata/finder_from_conf/ex_yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/testdata/finder_from_conf/ex_yml.yml -------------------------------------------------------------------------------- /util/benchmark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/util/benchmark_test.go -------------------------------------------------------------------------------- /util/reflect_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/util/reflect_util.go -------------------------------------------------------------------------------- /util/reflect_util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/util/reflect_util_test.go -------------------------------------------------------------------------------- /version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/version.go -------------------------------------------------------------------------------- /version_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldeneggg/structil/HEAD/version_test.go --------------------------------------------------------------------------------