├── .gitignore ├── 02-02-Makefile ├── Makefile └── README.md ├── Image └── wechat.jpg ├── MarkDown ├── 00-01.md ├── 01-01.md ├── 01-02.md ├── 01-03.md ├── 01-04.md ├── 01-05.md ├── 01-06.md ├── 01-07.md ├── 01-08.md ├── 01-09.md ├── 01-10.md ├── 01-11.md ├── 01-12.md ├── 01-13.md ├── 01-14.md ├── 01-15.md ├── 01-16.md ├── 01-17.md ├── 01-18.md ├── 01-19.md ├── 01-20.md ├── 02-01.md └── 02-02.md ├── PowerPoint ├── 00-00.pptx ├── 00-01.pptx ├── 00-02.pptx ├── 00-03.pptx ├── 00-04.pptx ├── 00-05.pptx ├── 00-06.pptx ├── 00-07.pptx ├── 00-08.pptx ├── 00-09.pptx ├── 00-10.pptx ├── 00-11.pptx ├── 00-12.pptx ├── 00-13.pptx ├── 00-14.pptx └── 00-15.pptx ├── README.md ├── built-in-package └── season-one │ ├── season-error │ └── main.go │ ├── season-json │ ├── Makefile │ └── main.go │ ├── season-net │ ├── Makefile │ └── main.go │ ├── season-reflect │ └── main.go │ ├── season-strconv │ └── main.go │ ├── season-strings │ └── main.go │ ├── season-time │ └── main.go │ └── season-url │ └── main.go ├── eight └── main.go ├── eleven └── infra │ ├── add.go │ ├── add_test.go │ └── cover.out ├── fifteen ├── download │ ├── cover.out │ ├── download.go │ └── download_test.go ├── engine │ ├── engine.go │ └── engine_test.go ├── go.mod ├── main │ └── main.go └── parse │ ├── jianshu │ ├── info_parse.go │ ├── info_parse_test.go │ └── jianshu.html │ └── v2ex │ ├── job_parse.go │ ├── job_parse_test.go │ └── ve2x.html ├── five └── main.go ├── four └── main.go ├── graphql-example ├── .gitignore ├── Makefile ├── README.md ├── cmd │ ├── root_cmd.go │ └── sync_cmd.go ├── deployments │ └── docker-compose.yml ├── go.mod ├── go.sum ├── main.go ├── model │ └── vote.go ├── pkg │ ├── database │ │ └── database.go │ ├── log │ │ └── log-for-project.go │ ├── middleware │ │ ├── auth.go │ │ ├── logger.go │ │ └── use.go │ └── router │ │ └── router.go ├── schema.graphql ├── script │ └── db.sh └── web │ ├── mutation │ └── mutation_type.go │ ├── ping │ └── ping_query.go │ ├── query │ └── query_type.go │ └── vote │ ├── vote_curd.go │ ├── vote_params.go │ └── vote_type.go ├── nine ├── domain │ └── objects.go ├── download │ ├── download.go │ └── download_test.go ├── engine │ └── engine.go ├── infra │ └── util_string.go ├── main │ └── main.go ├── parse │ └── gocn │ │ ├── gocn_parse.go │ │ └── gocn_parse_test.go ├── static │ ├── css │ │ └── AdminLTE.min.css │ └── html │ │ └── index.html └── ui │ ├── api-server │ ├── api_server.go │ └── route_function.go │ └── parse │ └── parse.go ├── second └── example.go ├── seven ├── download │ └── download.go ├── engine │ ├── engine.go │ └── objects.go ├── infra │ └── utils.go ├── main │ └── main.go └── parse │ └── github │ └── github_trending_parse.go ├── six └── main.go ├── talks ├── present │ └── redis │ │ ├── list │ │ └── main.go │ │ ├── map │ │ └── main.go │ │ ├── redis.slide │ │ └── string │ │ └── main.go ├── slide │ ├── 2018-12-02.slide │ ├── GO_BUILD.png │ ├── learn.slide │ └── main.go └── test │ ├── sc.jpg │ └── test.slide ├── ten ├── app │ └── config_instance.go ├── config │ ├── cfg.yml │ └── struct_tree.yml ├── domain │ ├── constants │ │ └── global_constants.go │ └── roles │ │ ├── create_config_file.go │ │ ├── create_config_file_test.go │ │ └── write_config_file.go ├── infra │ └── golang │ │ ├── execadapter │ │ ├── exec.go │ │ └── exec_test.go │ │ ├── ioutiladapter │ │ ├── ioutil.go │ │ ├── ioutil_test.go │ │ ├── test.txt │ │ ├── xiewei.txt │ │ └── xiewei1.txt │ │ ├── jsonadapter │ │ ├── json.go │ │ └── json_test.go │ │ ├── osadapater │ │ ├── os.go │ │ ├── os_test.go │ │ ├── test.txt │ │ └── xiewei.txt │ │ └── yamladapter │ │ ├── yaml.go │ │ └── yaml_test.go ├── main │ └── main.go ├── ui │ └── service │ │ ├── consist_body.go │ │ ├── consist_body_test.go │ │ ├── git_service.go │ │ ├── git_service_test.go │ │ └── read_struct_tree.go └── vendor │ ├── github.com │ └── olebedev │ │ └── config │ │ ├── LICENSE │ │ ├── README.md │ │ ├── config.go │ │ ├── doc.go │ │ └── wercker.yml │ ├── gopkg.in │ └── yaml.v2 │ │ ├── LICENSE │ │ ├── LICENSE.libyaml │ │ ├── NOTICE │ │ ├── README.md │ │ ├── apic.go │ │ ├── decode.go │ │ ├── emitterc.go │ │ ├── encode.go │ │ ├── go.mod │ │ ├── parserc.go │ │ ├── readerc.go │ │ ├── resolve.go │ │ ├── scannerc.go │ │ ├── sorter.go │ │ ├── writerc.go │ │ ├── yaml.go │ │ ├── yamlh.go │ │ └── yamlprivateh.go │ └── vendor.json ├── thirteen ├── infra │ └── dict.go └── main │ └── main.go ├── three └── main.go └── twelve └── main └── main.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/.gitignore -------------------------------------------------------------------------------- /02-02-Makefile/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/02-02-Makefile/Makefile -------------------------------------------------------------------------------- /02-02-Makefile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/02-02-Makefile/README.md -------------------------------------------------------------------------------- /Image/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/Image/wechat.jpg -------------------------------------------------------------------------------- /MarkDown/00-01.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/00-01.md -------------------------------------------------------------------------------- /MarkDown/01-01.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-01.md -------------------------------------------------------------------------------- /MarkDown/01-02.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-02.md -------------------------------------------------------------------------------- /MarkDown/01-03.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-03.md -------------------------------------------------------------------------------- /MarkDown/01-04.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-04.md -------------------------------------------------------------------------------- /MarkDown/01-05.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-05.md -------------------------------------------------------------------------------- /MarkDown/01-06.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-06.md -------------------------------------------------------------------------------- /MarkDown/01-07.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-07.md -------------------------------------------------------------------------------- /MarkDown/01-08.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-08.md -------------------------------------------------------------------------------- /MarkDown/01-09.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-09.md -------------------------------------------------------------------------------- /MarkDown/01-10.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-10.md -------------------------------------------------------------------------------- /MarkDown/01-11.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-11.md -------------------------------------------------------------------------------- /MarkDown/01-12.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-12.md -------------------------------------------------------------------------------- /MarkDown/01-13.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-13.md -------------------------------------------------------------------------------- /MarkDown/01-14.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-14.md -------------------------------------------------------------------------------- /MarkDown/01-15.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-15.md -------------------------------------------------------------------------------- /MarkDown/01-16.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-16.md -------------------------------------------------------------------------------- /MarkDown/01-17.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-17.md -------------------------------------------------------------------------------- /MarkDown/01-18.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-18.md -------------------------------------------------------------------------------- /MarkDown/01-19.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-19.md -------------------------------------------------------------------------------- /MarkDown/01-20.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/MarkDown/01-20.md -------------------------------------------------------------------------------- /MarkDown/02-01.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /MarkDown/02-02.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-00.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-01.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/PowerPoint/00-01.pptx -------------------------------------------------------------------------------- /PowerPoint/00-02.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/PowerPoint/00-02.pptx -------------------------------------------------------------------------------- /PowerPoint/00-03.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-04.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-05.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-06.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-07.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-08.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-09.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-10.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-11.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-12.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-13.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-14.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PowerPoint/00-15.pptx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/README.md -------------------------------------------------------------------------------- /built-in-package/season-one/season-error/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-error/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-json/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-json/Makefile -------------------------------------------------------------------------------- /built-in-package/season-one/season-json/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-json/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-net/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-net/Makefile -------------------------------------------------------------------------------- /built-in-package/season-one/season-net/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-net/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-reflect/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-reflect/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-strconv/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-strconv/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-strings/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-strings/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-time/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-time/main.go -------------------------------------------------------------------------------- /built-in-package/season-one/season-url/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/built-in-package/season-one/season-url/main.go -------------------------------------------------------------------------------- /eight/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/eight/main.go -------------------------------------------------------------------------------- /eleven/infra/add.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/eleven/infra/add.go -------------------------------------------------------------------------------- /eleven/infra/add_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/eleven/infra/add_test.go -------------------------------------------------------------------------------- /eleven/infra/cover.out: -------------------------------------------------------------------------------- 1 | mode: set 2 | go-example-for-live\eleven\infra\add.go:3.38,5.2 1 1 3 | -------------------------------------------------------------------------------- /fifteen/download/cover.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/download/cover.out -------------------------------------------------------------------------------- /fifteen/download/download.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/download/download.go -------------------------------------------------------------------------------- /fifteen/download/download_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/download/download_test.go -------------------------------------------------------------------------------- /fifteen/engine/engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/engine/engine.go -------------------------------------------------------------------------------- /fifteen/engine/engine_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/engine/engine_test.go -------------------------------------------------------------------------------- /fifteen/go.mod: -------------------------------------------------------------------------------- 1 | module go-example-for-live/fifteen 2 | -------------------------------------------------------------------------------- /fifteen/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/main/main.go -------------------------------------------------------------------------------- /fifteen/parse/jianshu/info_parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/jianshu/info_parse.go -------------------------------------------------------------------------------- /fifteen/parse/jianshu/info_parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/jianshu/info_parse_test.go -------------------------------------------------------------------------------- /fifteen/parse/jianshu/jianshu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/jianshu/jianshu.html -------------------------------------------------------------------------------- /fifteen/parse/v2ex/job_parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/v2ex/job_parse.go -------------------------------------------------------------------------------- /fifteen/parse/v2ex/job_parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/v2ex/job_parse_test.go -------------------------------------------------------------------------------- /fifteen/parse/v2ex/ve2x.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/fifteen/parse/v2ex/ve2x.html -------------------------------------------------------------------------------- /five/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/five/main.go -------------------------------------------------------------------------------- /four/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/four/main.go -------------------------------------------------------------------------------- /graphql-example/.gitignore: -------------------------------------------------------------------------------- 1 | graphql_example 2 | vendor/* 3 | -------------------------------------------------------------------------------- /graphql-example/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/Makefile -------------------------------------------------------------------------------- /graphql-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/README.md -------------------------------------------------------------------------------- /graphql-example/cmd/root_cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/cmd/root_cmd.go -------------------------------------------------------------------------------- /graphql-example/cmd/sync_cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/cmd/sync_cmd.go -------------------------------------------------------------------------------- /graphql-example/deployments/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/deployments/docker-compose.yml -------------------------------------------------------------------------------- /graphql-example/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/go.mod -------------------------------------------------------------------------------- /graphql-example/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/go.sum -------------------------------------------------------------------------------- /graphql-example/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/main.go -------------------------------------------------------------------------------- /graphql-example/model/vote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/model/vote.go -------------------------------------------------------------------------------- /graphql-example/pkg/database/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/pkg/database/database.go -------------------------------------------------------------------------------- /graphql-example/pkg/log/log-for-project.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/pkg/log/log-for-project.go -------------------------------------------------------------------------------- /graphql-example/pkg/middleware/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/pkg/middleware/auth.go -------------------------------------------------------------------------------- /graphql-example/pkg/middleware/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/pkg/middleware/logger.go -------------------------------------------------------------------------------- /graphql-example/pkg/middleware/use.go: -------------------------------------------------------------------------------- 1 | package middleware 2 | -------------------------------------------------------------------------------- /graphql-example/pkg/router/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/pkg/router/router.go -------------------------------------------------------------------------------- /graphql-example/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/schema.graphql -------------------------------------------------------------------------------- /graphql-example/script/db.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | -------------------------------------------------------------------------------- /graphql-example/web/mutation/mutation_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/mutation/mutation_type.go -------------------------------------------------------------------------------- /graphql-example/web/ping/ping_query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/ping/ping_query.go -------------------------------------------------------------------------------- /graphql-example/web/query/query_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/query/query_type.go -------------------------------------------------------------------------------- /graphql-example/web/vote/vote_curd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/vote/vote_curd.go -------------------------------------------------------------------------------- /graphql-example/web/vote/vote_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/vote/vote_params.go -------------------------------------------------------------------------------- /graphql-example/web/vote/vote_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/graphql-example/web/vote/vote_type.go -------------------------------------------------------------------------------- /nine/domain/objects.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/domain/objects.go -------------------------------------------------------------------------------- /nine/download/download.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/download/download.go -------------------------------------------------------------------------------- /nine/download/download_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/download/download_test.go -------------------------------------------------------------------------------- /nine/engine/engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/engine/engine.go -------------------------------------------------------------------------------- /nine/infra/util_string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/infra/util_string.go -------------------------------------------------------------------------------- /nine/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/main/main.go -------------------------------------------------------------------------------- /nine/parse/gocn/gocn_parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/parse/gocn/gocn_parse.go -------------------------------------------------------------------------------- /nine/parse/gocn/gocn_parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/parse/gocn/gocn_parse_test.go -------------------------------------------------------------------------------- /nine/static/css/AdminLTE.min.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nine/static/html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/static/html/index.html -------------------------------------------------------------------------------- /nine/ui/api-server/api_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/ui/api-server/api_server.go -------------------------------------------------------------------------------- /nine/ui/api-server/route_function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/nine/ui/api-server/route_function.go -------------------------------------------------------------------------------- /nine/ui/parse/parse.go: -------------------------------------------------------------------------------- 1 | package parse 2 | -------------------------------------------------------------------------------- /second/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/second/example.go -------------------------------------------------------------------------------- /seven/download/download.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/download/download.go -------------------------------------------------------------------------------- /seven/engine/engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/engine/engine.go -------------------------------------------------------------------------------- /seven/engine/objects.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/engine/objects.go -------------------------------------------------------------------------------- /seven/infra/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/infra/utils.go -------------------------------------------------------------------------------- /seven/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/main/main.go -------------------------------------------------------------------------------- /seven/parse/github/github_trending_parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/seven/parse/github/github_trending_parse.go -------------------------------------------------------------------------------- /six/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/six/main.go -------------------------------------------------------------------------------- /talks/present/redis/list/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/present/redis/list/main.go -------------------------------------------------------------------------------- /talks/present/redis/map/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/present/redis/map/main.go -------------------------------------------------------------------------------- /talks/present/redis/redis.slide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/present/redis/redis.slide -------------------------------------------------------------------------------- /talks/present/redis/string/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/present/redis/string/main.go -------------------------------------------------------------------------------- /talks/slide/2018-12-02.slide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/slide/2018-12-02.slide -------------------------------------------------------------------------------- /talks/slide/GO_BUILD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/slide/GO_BUILD.png -------------------------------------------------------------------------------- /talks/slide/learn.slide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/slide/learn.slide -------------------------------------------------------------------------------- /talks/slide/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/slide/main.go -------------------------------------------------------------------------------- /talks/test/sc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/test/sc.jpg -------------------------------------------------------------------------------- /talks/test/test.slide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/talks/test/test.slide -------------------------------------------------------------------------------- /ten/app/config_instance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/app/config_instance.go -------------------------------------------------------------------------------- /ten/config/cfg.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/config/cfg.yml -------------------------------------------------------------------------------- /ten/config/struct_tree.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/config/struct_tree.yml -------------------------------------------------------------------------------- /ten/domain/constants/global_constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/domain/constants/global_constants.go -------------------------------------------------------------------------------- /ten/domain/roles/create_config_file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/domain/roles/create_config_file.go -------------------------------------------------------------------------------- /ten/domain/roles/create_config_file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/domain/roles/create_config_file_test.go -------------------------------------------------------------------------------- /ten/domain/roles/write_config_file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/domain/roles/write_config_file.go -------------------------------------------------------------------------------- /ten/infra/golang/execadapter/exec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/execadapter/exec.go -------------------------------------------------------------------------------- /ten/infra/golang/execadapter/exec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/execadapter/exec_test.go -------------------------------------------------------------------------------- /ten/infra/golang/ioutiladapter/ioutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/ioutiladapter/ioutil.go -------------------------------------------------------------------------------- /ten/infra/golang/ioutiladapter/ioutil_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/ioutiladapter/ioutil_test.go -------------------------------------------------------------------------------- /ten/infra/golang/ioutiladapter/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/ioutiladapter/test.txt -------------------------------------------------------------------------------- /ten/infra/golang/ioutiladapter/xiewei.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/ioutiladapter/xiewei.txt -------------------------------------------------------------------------------- /ten/infra/golang/ioutiladapter/xiewei1.txt: -------------------------------------------------------------------------------- 1 | Thank you 2 -------------------------------------------------------------------------------- /ten/infra/golang/jsonadapter/json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/jsonadapter/json.go -------------------------------------------------------------------------------- /ten/infra/golang/jsonadapter/json_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/jsonadapter/json_test.go -------------------------------------------------------------------------------- /ten/infra/golang/osadapater/os.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/osadapater/os.go -------------------------------------------------------------------------------- /ten/infra/golang/osadapater/os_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/osadapater/os_test.go -------------------------------------------------------------------------------- /ten/infra/golang/osadapater/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ten/infra/golang/osadapater/xiewei.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ten/infra/golang/yamladapter/yaml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/yamladapter/yaml.go -------------------------------------------------------------------------------- /ten/infra/golang/yamladapter/yaml_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/infra/golang/yamladapter/yaml_test.go -------------------------------------------------------------------------------- /ten/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/main/main.go -------------------------------------------------------------------------------- /ten/ui/service/consist_body.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/ui/service/consist_body.go -------------------------------------------------------------------------------- /ten/ui/service/consist_body_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/ui/service/consist_body_test.go -------------------------------------------------------------------------------- /ten/ui/service/git_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/ui/service/git_service.go -------------------------------------------------------------------------------- /ten/ui/service/git_service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/ui/service/git_service_test.go -------------------------------------------------------------------------------- /ten/ui/service/read_struct_tree.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/ui/service/read_struct_tree.go -------------------------------------------------------------------------------- /ten/vendor/github.com/olebedev/config/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/github.com/olebedev/config/LICENSE -------------------------------------------------------------------------------- /ten/vendor/github.com/olebedev/config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/github.com/olebedev/config/README.md -------------------------------------------------------------------------------- /ten/vendor/github.com/olebedev/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/github.com/olebedev/config/config.go -------------------------------------------------------------------------------- /ten/vendor/github.com/olebedev/config/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/github.com/olebedev/config/doc.go -------------------------------------------------------------------------------- /ten/vendor/github.com/olebedev/config/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 2 | -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/LICENSE -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/LICENSE.libyaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/LICENSE.libyaml -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/NOTICE -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/README.md -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/apic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/apic.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/decode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/decode.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/emitterc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/emitterc.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/encode.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/go.mod -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/parserc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/parserc.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/readerc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/readerc.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/resolve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/resolve.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/scannerc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/scannerc.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/sorter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/sorter.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/writerc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/writerc.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/yaml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/yaml.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/yamlh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/yamlh.go -------------------------------------------------------------------------------- /ten/vendor/gopkg.in/yaml.v2/yamlprivateh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/gopkg.in/yaml.v2/yamlprivateh.go -------------------------------------------------------------------------------- /ten/vendor/vendor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/ten/vendor/vendor.json -------------------------------------------------------------------------------- /thirteen/infra/dict.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/thirteen/infra/dict.go -------------------------------------------------------------------------------- /thirteen/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/thirteen/main/main.go -------------------------------------------------------------------------------- /three/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/three/main.go -------------------------------------------------------------------------------- /twelve/main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XieWeiXie/Gopher-By-Example/HEAD/twelve/main/main.go --------------------------------------------------------------------------------