├── .github └── workflows │ └── go.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── array ├── array.go └── array_test.go ├── astutil ├── expr.go ├── expr_test.go ├── log.go ├── node.go ├── package.go ├── query.go └── query_test.go ├── char ├── char.go └── char_test.go ├── collection ├── skiplist.go └── skiplist_test.go ├── crypt ├── crypt.go └── crypt_test.go ├── date ├── carbon │ ├── carbon.go │ ├── carbon_test.go │ ├── constant.go │ └── location.go ├── date.go └── date_test.go ├── dict ├── map_dict.go └── map_dict_test.go ├── digo ├── digo.go ├── digo_impl.go ├── digo_impl_test.go ├── digo_stub.go ├── digo_test.go └── readme.md ├── dump ├── cli_dumper.go ├── cli_dumper_test.go ├── dump.go ├── dump_test.go ├── helper.go ├── helper_test.go ├── readme.md ├── serialize.go ├── serialize_test.go └── stub.s ├── dynamic ├── caller.go ├── caller_test.go ├── compact.go ├── function.go ├── function_test.go ├── init_test.go ├── log.go ├── readme.md ├── variant_name.go └── variant_name_test.go ├── encoding ├── base64.go ├── encoding_test.go └── json.go ├── firewall ├── firewall.go ├── limiter.go ├── mutexlimiter.go ├── mutexlimiter_test.go ├── readme.md ├── resource_limiter.go ├── semaphore.go ├── semaphore_test.go ├── sleeplimiter.go └── sleeplimiter_test.go ├── go.mod ├── go.sum ├── gotemplate └── function.go ├── http └── form │ └── form.go ├── httpclient ├── client.go ├── go.mod ├── go.sum ├── readme.md ├── request.go ├── request_test.go ├── response.go ├── wrapper.go └── wrapper_test.go ├── mapx └── slice_map.go ├── p ├── compact.go ├── compact_alias_internal_test.go ├── compact_alias_test.go ├── compact_test.go ├── dump.go ├── dump_test.go ├── goroutine.go ├── goroutine_test.go └── readme.md ├── pipe ├── examples │ └── cpipe.c ├── exec_pipe.go ├── exec_pipe_test.go ├── pipe.go ├── pipes.go ├── pipes_test.go └── readme.md ├── string ├── string.go └── string_test.go ├── test ├── assert.go ├── assert_test.go ├── assert_util.go ├── assert_util_test.go ├── file.go └── runner.go ├── version ├── compare.go ├── compare_test.go ├── helper.go ├── semver.go └── semver_test.go └── word ├── case_convert.go └── case_convert_test.go /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/README.md -------------------------------------------------------------------------------- /array/array.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/array/array.go -------------------------------------------------------------------------------- /array/array_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/array/array_test.go -------------------------------------------------------------------------------- /astutil/expr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/expr.go -------------------------------------------------------------------------------- /astutil/expr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/expr_test.go -------------------------------------------------------------------------------- /astutil/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/log.go -------------------------------------------------------------------------------- /astutil/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/node.go -------------------------------------------------------------------------------- /astutil/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/package.go -------------------------------------------------------------------------------- /astutil/query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/query.go -------------------------------------------------------------------------------- /astutil/query_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/astutil/query_test.go -------------------------------------------------------------------------------- /char/char.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/char/char.go -------------------------------------------------------------------------------- /char/char_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/char/char_test.go -------------------------------------------------------------------------------- /collection/skiplist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/collection/skiplist.go -------------------------------------------------------------------------------- /collection/skiplist_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/collection/skiplist_test.go -------------------------------------------------------------------------------- /crypt/crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/crypt/crypt.go -------------------------------------------------------------------------------- /crypt/crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/crypt/crypt_test.go -------------------------------------------------------------------------------- /date/carbon/carbon.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/carbon/carbon.go -------------------------------------------------------------------------------- /date/carbon/carbon_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/carbon/carbon_test.go -------------------------------------------------------------------------------- /date/carbon/constant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/carbon/constant.go -------------------------------------------------------------------------------- /date/carbon/location.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/carbon/location.go -------------------------------------------------------------------------------- /date/date.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/date.go -------------------------------------------------------------------------------- /date/date_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/date/date_test.go -------------------------------------------------------------------------------- /dict/map_dict.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dict/map_dict.go -------------------------------------------------------------------------------- /dict/map_dict_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dict/map_dict_test.go -------------------------------------------------------------------------------- /digo/digo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/digo.go -------------------------------------------------------------------------------- /digo/digo_impl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/digo_impl.go -------------------------------------------------------------------------------- /digo/digo_impl_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/digo_impl_test.go -------------------------------------------------------------------------------- /digo/digo_stub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/digo_stub.go -------------------------------------------------------------------------------- /digo/digo_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/digo_test.go -------------------------------------------------------------------------------- /digo/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/digo/readme.md -------------------------------------------------------------------------------- /dump/cli_dumper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/cli_dumper.go -------------------------------------------------------------------------------- /dump/cli_dumper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/cli_dumper_test.go -------------------------------------------------------------------------------- /dump/dump.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/dump.go -------------------------------------------------------------------------------- /dump/dump_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/dump_test.go -------------------------------------------------------------------------------- /dump/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/helper.go -------------------------------------------------------------------------------- /dump/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/helper_test.go -------------------------------------------------------------------------------- /dump/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/readme.md -------------------------------------------------------------------------------- /dump/serialize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/serialize.go -------------------------------------------------------------------------------- /dump/serialize_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dump/serialize_test.go -------------------------------------------------------------------------------- /dump/stub.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dynamic/caller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/caller.go -------------------------------------------------------------------------------- /dynamic/caller_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/caller_test.go -------------------------------------------------------------------------------- /dynamic/compact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/compact.go -------------------------------------------------------------------------------- /dynamic/function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/function.go -------------------------------------------------------------------------------- /dynamic/function_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/function_test.go -------------------------------------------------------------------------------- /dynamic/init_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/init_test.go -------------------------------------------------------------------------------- /dynamic/log.go: -------------------------------------------------------------------------------- 1 | package dynamic 2 | 3 | func init() { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /dynamic/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/readme.md -------------------------------------------------------------------------------- /dynamic/variant_name.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/variant_name.go -------------------------------------------------------------------------------- /dynamic/variant_name_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/dynamic/variant_name_test.go -------------------------------------------------------------------------------- /encoding/base64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/encoding/base64.go -------------------------------------------------------------------------------- /encoding/encoding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/encoding/encoding_test.go -------------------------------------------------------------------------------- /encoding/json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/encoding/json.go -------------------------------------------------------------------------------- /firewall/firewall.go: -------------------------------------------------------------------------------- 1 | package firewall 2 | -------------------------------------------------------------------------------- /firewall/limiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/limiter.go -------------------------------------------------------------------------------- /firewall/mutexlimiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/mutexlimiter.go -------------------------------------------------------------------------------- /firewall/mutexlimiter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/mutexlimiter_test.go -------------------------------------------------------------------------------- /firewall/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/readme.md -------------------------------------------------------------------------------- /firewall/resource_limiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/resource_limiter.go -------------------------------------------------------------------------------- /firewall/semaphore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/semaphore.go -------------------------------------------------------------------------------- /firewall/semaphore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/semaphore_test.go -------------------------------------------------------------------------------- /firewall/sleeplimiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/sleeplimiter.go -------------------------------------------------------------------------------- /firewall/sleeplimiter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/firewall/sleeplimiter_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/go.sum -------------------------------------------------------------------------------- /gotemplate/function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/gotemplate/function.go -------------------------------------------------------------------------------- /http/form/form.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/http/form/form.go -------------------------------------------------------------------------------- /httpclient/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/client.go -------------------------------------------------------------------------------- /httpclient/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/go.mod -------------------------------------------------------------------------------- /httpclient/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/go.sum -------------------------------------------------------------------------------- /httpclient/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/readme.md -------------------------------------------------------------------------------- /httpclient/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/request.go -------------------------------------------------------------------------------- /httpclient/request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/request_test.go -------------------------------------------------------------------------------- /httpclient/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/response.go -------------------------------------------------------------------------------- /httpclient/wrapper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/wrapper.go -------------------------------------------------------------------------------- /httpclient/wrapper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/httpclient/wrapper_test.go -------------------------------------------------------------------------------- /mapx/slice_map.go: -------------------------------------------------------------------------------- 1 | package mapx 2 | -------------------------------------------------------------------------------- /p/compact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/compact.go -------------------------------------------------------------------------------- /p/compact_alias_internal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/compact_alias_internal_test.go -------------------------------------------------------------------------------- /p/compact_alias_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/compact_alias_test.go -------------------------------------------------------------------------------- /p/compact_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/compact_test.go -------------------------------------------------------------------------------- /p/dump.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/dump.go -------------------------------------------------------------------------------- /p/dump_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/dump_test.go -------------------------------------------------------------------------------- /p/goroutine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/goroutine.go -------------------------------------------------------------------------------- /p/goroutine_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/goroutine_test.go -------------------------------------------------------------------------------- /p/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/p/readme.md -------------------------------------------------------------------------------- /pipe/examples/cpipe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/examples/cpipe.c -------------------------------------------------------------------------------- /pipe/exec_pipe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/exec_pipe.go -------------------------------------------------------------------------------- /pipe/exec_pipe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/exec_pipe_test.go -------------------------------------------------------------------------------- /pipe/pipe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/pipe.go -------------------------------------------------------------------------------- /pipe/pipes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/pipes.go -------------------------------------------------------------------------------- /pipe/pipes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/pipes_test.go -------------------------------------------------------------------------------- /pipe/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/pipe/readme.md -------------------------------------------------------------------------------- /string/string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/string/string.go -------------------------------------------------------------------------------- /string/string_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/string/string_test.go -------------------------------------------------------------------------------- /test/assert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/assert.go -------------------------------------------------------------------------------- /test/assert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/assert_test.go -------------------------------------------------------------------------------- /test/assert_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/assert_util.go -------------------------------------------------------------------------------- /test/assert_util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/assert_util_test.go -------------------------------------------------------------------------------- /test/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/file.go -------------------------------------------------------------------------------- /test/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/test/runner.go -------------------------------------------------------------------------------- /version/compare.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/version/compare.go -------------------------------------------------------------------------------- /version/compare_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/version/compare_test.go -------------------------------------------------------------------------------- /version/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/version/helper.go -------------------------------------------------------------------------------- /version/semver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/version/semver.go -------------------------------------------------------------------------------- /version/semver_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/version/semver_test.go -------------------------------------------------------------------------------- /word/case_convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/word/case_convert.go -------------------------------------------------------------------------------- /word/case_convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kretech/xgo/HEAD/word/case_convert_test.go --------------------------------------------------------------------------------