├── .github └── dependabot.yml ├── 01-go_flags └── main.go ├── 02-refactor-to-cobra ├── cmd │ └── beers-cli │ │ └── main.go └── internal │ └── cli │ └── beers.go ├── 03-reading_files ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ └── cli │ └── beers.go ├── 04-modeling_data ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ └── storage │ └── csv │ └── repository.go ├── 05-parsing_http_response ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ └── storage │ ├── csv │ └── repository.go │ └── ontario │ └── repository.go ├── 06-error_handling ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ └── storage │ ├── csv │ └── repository.go │ └── ontario │ └── repository.go ├── 07-behaviour_error_handling ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ └── storage │ ├── csv │ └── repository.go │ └── ontario │ └── repository.go ├── 08-automated_tests ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ ├── fetching │ ├── service.go │ └── service_test.go │ └── storage │ ├── csv │ └── repository.go │ ├── inmem │ └── repository.go │ ├── mock │ └── repository.go │ └── ontario │ └── repository.go ├── 09-benchmarking ├── cmd │ └── beers-cli │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ ├── fetching │ ├── service.go │ └── service_test.go │ ├── mock │ └── repository.go │ └── storage │ ├── csv │ └── repository.go │ ├── inmem │ └── repository.go │ ├── mock │ └── repository.go │ └── ontario │ ├── bench.new │ ├── bench.old │ ├── repository.go │ └── repository_test.go ├── 10-profiling ├── cmd │ └── beers-cli │ │ ├── beers.cpu.prof │ │ ├── beers.mem.prof │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ ├── fetching │ ├── service.go │ └── service_test.go │ ├── mock │ └── repository.go │ └── storage │ ├── csv │ └── repository.go │ ├── inmem │ └── repository.go │ ├── mock │ └── repository.go │ └── ontario │ ├── bench.new │ ├── bench.old │ ├── repository.go │ └── repository_test.go ├── 11-sharing_memory_concurrency ├── cmd │ └── beers-cli │ │ ├── beers.cpu.prof │ │ ├── beers.mem.prof │ │ └── main.go ├── data │ └── beers.csv └── internal │ ├── beer.go │ ├── cli │ └── beers.go │ ├── errors │ └── errortypes.go │ ├── fetching │ ├── service.go │ └── service_test.go │ ├── mock │ └── repository.go │ └── storage │ ├── csv │ └── repository.go │ ├── inmem │ └── repository.go │ ├── mock │ └── repository.go │ └── ontario │ ├── bench.new │ ├── bench.old │ ├── repository.go │ └── repository_test.go ├── README.md ├── go.mod ├── go.sum ├── mock ├── product.imp.json └── responses │ └── products.json └── ontario-mock ├── product.imp.json └── product_response.json /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /01-go_flags/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/01-go_flags/main.go -------------------------------------------------------------------------------- /02-refactor-to-cobra/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/02-refactor-to-cobra/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /02-refactor-to-cobra/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/02-refactor-to-cobra/internal/cli/beers.go -------------------------------------------------------------------------------- /03-reading_files/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/03-reading_files/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /03-reading_files/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/03-reading_files/data/beers.csv -------------------------------------------------------------------------------- /03-reading_files/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/03-reading_files/internal/beer.go -------------------------------------------------------------------------------- /03-reading_files/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/03-reading_files/internal/cli/beers.go -------------------------------------------------------------------------------- /04-modeling_data/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/04-modeling_data/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /04-modeling_data/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/04-modeling_data/data/beers.csv -------------------------------------------------------------------------------- /04-modeling_data/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/04-modeling_data/internal/beer.go -------------------------------------------------------------------------------- /04-modeling_data/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/04-modeling_data/internal/cli/beers.go -------------------------------------------------------------------------------- /04-modeling_data/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/04-modeling_data/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /05-parsing_http_response/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /05-parsing_http_response/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/data/beers.csv -------------------------------------------------------------------------------- /05-parsing_http_response/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/internal/beer.go -------------------------------------------------------------------------------- /05-parsing_http_response/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/internal/cli/beers.go -------------------------------------------------------------------------------- /05-parsing_http_response/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /05-parsing_http_response/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/05-parsing_http_response/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /06-error_handling/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /06-error_handling/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/data/beers.csv -------------------------------------------------------------------------------- /06-error_handling/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/internal/beer.go -------------------------------------------------------------------------------- /06-error_handling/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/internal/cli/beers.go -------------------------------------------------------------------------------- /06-error_handling/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/internal/errors/errortypes.go -------------------------------------------------------------------------------- /06-error_handling/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /06-error_handling/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/06-error_handling/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/data/beers.csv -------------------------------------------------------------------------------- /07-behaviour_error_handling/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/internal/beer.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/internal/cli/beers.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/internal/errors/errortypes.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /07-behaviour_error_handling/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/07-behaviour_error_handling/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /08-automated_tests/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /08-automated_tests/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/data/beers.csv -------------------------------------------------------------------------------- /08-automated_tests/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/beer.go -------------------------------------------------------------------------------- /08-automated_tests/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/cli/beers.go -------------------------------------------------------------------------------- /08-automated_tests/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/errors/errortypes.go -------------------------------------------------------------------------------- /08-automated_tests/internal/fetching/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/fetching/service.go -------------------------------------------------------------------------------- /08-automated_tests/internal/fetching/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/fetching/service_test.go -------------------------------------------------------------------------------- /08-automated_tests/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /08-automated_tests/internal/storage/inmem/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/storage/inmem/repository.go -------------------------------------------------------------------------------- /08-automated_tests/internal/storage/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/storage/mock/repository.go -------------------------------------------------------------------------------- /08-automated_tests/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/08-automated_tests/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /09-benchmarking/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /09-benchmarking/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/data/beers.csv -------------------------------------------------------------------------------- /09-benchmarking/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/beer.go -------------------------------------------------------------------------------- /09-benchmarking/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/cli/beers.go -------------------------------------------------------------------------------- /09-benchmarking/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/errors/errortypes.go -------------------------------------------------------------------------------- /09-benchmarking/internal/fetching/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/fetching/service.go -------------------------------------------------------------------------------- /09-benchmarking/internal/fetching/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/fetching/service_test.go -------------------------------------------------------------------------------- /09-benchmarking/internal/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/mock/repository.go -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/inmem/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/inmem/repository.go -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/mock/repository.go -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/ontario/bench.new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/ontario/bench.new -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/ontario/bench.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/ontario/bench.old -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /09-benchmarking/internal/storage/ontario/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/09-benchmarking/internal/storage/ontario/repository_test.go -------------------------------------------------------------------------------- /10-profiling/cmd/beers-cli/beers.cpu.prof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/cmd/beers-cli/beers.cpu.prof -------------------------------------------------------------------------------- /10-profiling/cmd/beers-cli/beers.mem.prof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/cmd/beers-cli/beers.mem.prof -------------------------------------------------------------------------------- /10-profiling/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /10-profiling/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/data/beers.csv -------------------------------------------------------------------------------- /10-profiling/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/beer.go -------------------------------------------------------------------------------- /10-profiling/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/cli/beers.go -------------------------------------------------------------------------------- /10-profiling/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/errors/errortypes.go -------------------------------------------------------------------------------- /10-profiling/internal/fetching/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/fetching/service.go -------------------------------------------------------------------------------- /10-profiling/internal/fetching/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/fetching/service_test.go -------------------------------------------------------------------------------- /10-profiling/internal/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/mock/repository.go -------------------------------------------------------------------------------- /10-profiling/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /10-profiling/internal/storage/inmem/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/inmem/repository.go -------------------------------------------------------------------------------- /10-profiling/internal/storage/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/mock/repository.go -------------------------------------------------------------------------------- /10-profiling/internal/storage/ontario/bench.new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/ontario/bench.new -------------------------------------------------------------------------------- /10-profiling/internal/storage/ontario/bench.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/ontario/bench.old -------------------------------------------------------------------------------- /10-profiling/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /10-profiling/internal/storage/ontario/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/10-profiling/internal/storage/ontario/repository_test.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/cmd/beers-cli/beers.cpu.prof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/cmd/beers-cli/beers.cpu.prof -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/cmd/beers-cli/beers.mem.prof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/cmd/beers-cli/beers.mem.prof -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/cmd/beers-cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/cmd/beers-cli/main.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/data/beers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/data/beers.csv -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/beer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/beer.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/cli/beers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/cli/beers.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/errors/errortypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/errors/errortypes.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/fetching/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/fetching/service.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/fetching/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/fetching/service_test.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/mock/repository.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/csv/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/csv/repository.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/inmem/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/inmem/repository.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/mock/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/mock/repository.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/ontario/bench.new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/ontario/bench.new -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/ontario/bench.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/ontario/bench.old -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/ontario/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/ontario/repository.go -------------------------------------------------------------------------------- /11-sharing_memory_concurrency/internal/storage/ontario/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/11-sharing_memory_concurrency/internal/storage/ontario/repository_test.go -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/go.sum -------------------------------------------------------------------------------- /mock/product.imp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/mock/product.imp.json -------------------------------------------------------------------------------- /mock/responses/products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/mock/responses/products.json -------------------------------------------------------------------------------- /ontario-mock/product.imp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/ontario-mock/product.imp.json -------------------------------------------------------------------------------- /ontario-mock/product_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/golang-examples/HEAD/ontario-mock/product_response.json --------------------------------------------------------------------------------