├── .gitignore ├── 01-basics ├── 01-hello │ ├── README.md │ ├── assignment.md │ ├── go.mod │ └── main.go ├── 02-variables │ ├── README.md │ └── main.go ├── 03-if-and-else │ ├── README.md │ └── main.go ├── 04-conversions │ ├── README.md │ ├── assignment.go │ ├── main.go │ └── reflecting.go ├── 05-loops │ ├── README.md │ └── main.go ├── 06-user-input │ ├── README.md │ ├── go.mod │ └── main.go ├── 07-functions │ ├── README.md │ ├── main.go │ └── test.go └── 08-error-handling │ ├── README.md │ ├── logs │ ├── main.go │ └── panic.go ├── 02-data-types ├── 01-arrays │ ├── README.md │ ├── assignment.go │ ├── main.go │ └── slice.go ├── 02-structs │ ├── README.md │ ├── assignment.go │ ├── go.mod │ └── main.go ├── 03-maps │ ├── README.md │ ├── assignment.go │ └── main.go └── 04-interfaces │ ├── README.md │ ├── assignment.go │ ├── cast.go │ ├── main.go │ ├── shape.go │ └── test.go ├── 03-projects ├── .DS_Store ├── 01-first-project │ ├── README.md │ ├── go.mod │ ├── helper │ │ └── helper.go │ └── main.go ├── 02-consume-external │ ├── README.md │ ├── go.mod │ ├── go.sum │ ├── log-tester │ │ ├── go.mod │ │ ├── go.sum │ │ ├── helper │ │ │ └── helper.go │ │ └── main.go │ └── main.go ├── 03-create-shared-module │ └── README.md └── 04-testing │ ├── .DS_Store │ ├── README.md │ ├── coverage.png │ ├── go.mod │ ├── main.go │ └── math │ ├── c.out │ ├── math.go │ └── math_test.go ├── 04-webdev ├── 01-json │ ├── README.md │ ├── main.go │ ├── orders.go │ ├── orders.json │ └── person.json └── 02-web-dev │ ├── README.md │ └── main.go ├── 05-misc ├── 01-logs │ ├── README.md │ ├── batch.go │ ├── logfile │ ├── main.go │ ├── records.csv │ └── testlogfile ├── 02-strings │ ├── README.md │ ├── contains.go │ ├── presentation.go │ └── strings.go ├── 03-regex │ ├── README.md │ ├── regex.go │ └── regex2.go ├── 04-goroutines │ ├── README.md │ ├── channel.go │ ├── channel1.go │ ├── file-search.go │ ├── first.go │ ├── main.go │ ├── other │ │ ├── test.txt │ │ └── test3.txt │ └── test │ │ ├── test.txt │ │ └── test2.txt └── 05-sqlite │ ├── README.md │ ├── go.mod │ ├── go.sum │ ├── main.go │ └── mydb.db ├── 06-io ├── 01-read-write-files │ ├── README.md │ ├── invoices.csv │ └── main.go ├── 02-file-directories │ ├── README.md │ ├── main.go │ └── tmp │ │ ├── a.txt │ │ └── b.txt ├── 03-compress-files │ └── README.md └── fix │ ├── README.md │ ├── dir │ └── dir.go │ ├── file │ └── file.go │ ├── go.mod │ ├── go.sum │ ├── main.go │ ├── products.json │ ├── test.txt │ └── test2.txt ├── CONTRIBUTING.md ├── LICENSE ├── README.md └── _config.yml /.gitignore: -------------------------------------------------------------------------------- 1 | logger -------------------------------------------------------------------------------- /01-basics/01-hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/01-hello/README.md -------------------------------------------------------------------------------- /01-basics/01-hello/assignment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/01-hello/assignment.md -------------------------------------------------------------------------------- /01-basics/01-hello/go.mod: -------------------------------------------------------------------------------- 1 | module hello 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /01-basics/01-hello/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/01-hello/main.go -------------------------------------------------------------------------------- /01-basics/02-variables/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/02-variables/README.md -------------------------------------------------------------------------------- /01-basics/02-variables/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/02-variables/main.go -------------------------------------------------------------------------------- /01-basics/03-if-and-else/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/03-if-and-else/README.md -------------------------------------------------------------------------------- /01-basics/03-if-and-else/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/03-if-and-else/main.go -------------------------------------------------------------------------------- /01-basics/04-conversions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/04-conversions/README.md -------------------------------------------------------------------------------- /01-basics/04-conversions/assignment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/04-conversions/assignment.go -------------------------------------------------------------------------------- /01-basics/04-conversions/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/04-conversions/main.go -------------------------------------------------------------------------------- /01-basics/04-conversions/reflecting.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/04-conversions/reflecting.go -------------------------------------------------------------------------------- /01-basics/05-loops/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/05-loops/README.md -------------------------------------------------------------------------------- /01-basics/05-loops/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/05-loops/main.go -------------------------------------------------------------------------------- /01-basics/06-user-input/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/06-user-input/README.md -------------------------------------------------------------------------------- /01-basics/06-user-input/go.mod: -------------------------------------------------------------------------------- 1 | module input 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /01-basics/06-user-input/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/06-user-input/main.go -------------------------------------------------------------------------------- /01-basics/07-functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/07-functions/README.md -------------------------------------------------------------------------------- /01-basics/07-functions/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/07-functions/main.go -------------------------------------------------------------------------------- /01-basics/07-functions/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/07-functions/test.go -------------------------------------------------------------------------------- /01-basics/08-error-handling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/08-error-handling/README.md -------------------------------------------------------------------------------- /01-basics/08-error-handling/logs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/08-error-handling/logs -------------------------------------------------------------------------------- /01-basics/08-error-handling/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/08-error-handling/main.go -------------------------------------------------------------------------------- /01-basics/08-error-handling/panic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/01-basics/08-error-handling/panic.go -------------------------------------------------------------------------------- /02-data-types/01-arrays/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/01-arrays/README.md -------------------------------------------------------------------------------- /02-data-types/01-arrays/assignment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/01-arrays/assignment.go -------------------------------------------------------------------------------- /02-data-types/01-arrays/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/01-arrays/main.go -------------------------------------------------------------------------------- /02-data-types/01-arrays/slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/01-arrays/slice.go -------------------------------------------------------------------------------- /02-data-types/02-structs /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/02-structs /README.md -------------------------------------------------------------------------------- /02-data-types/02-structs /assignment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/02-structs /assignment.go -------------------------------------------------------------------------------- /02-data-types/02-structs /go.mod: -------------------------------------------------------------------------------- 1 | module struct 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /02-data-types/02-structs /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/02-structs /main.go -------------------------------------------------------------------------------- /02-data-types/03-maps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/03-maps/README.md -------------------------------------------------------------------------------- /02-data-types/03-maps/assignment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/03-maps/assignment.go -------------------------------------------------------------------------------- /02-data-types/03-maps/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/03-maps/main.go -------------------------------------------------------------------------------- /02-data-types/04-interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/README.md -------------------------------------------------------------------------------- /02-data-types/04-interfaces/assignment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/assignment.go -------------------------------------------------------------------------------- /02-data-types/04-interfaces/cast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/cast.go -------------------------------------------------------------------------------- /02-data-types/04-interfaces/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/main.go -------------------------------------------------------------------------------- /02-data-types/04-interfaces/shape.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/shape.go -------------------------------------------------------------------------------- /02-data-types/04-interfaces/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/02-data-types/04-interfaces/test.go -------------------------------------------------------------------------------- /03-projects/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/.DS_Store -------------------------------------------------------------------------------- /03-projects/01-first-project/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/01-first-project/README.md -------------------------------------------------------------------------------- /03-projects/01-first-project/go.mod: -------------------------------------------------------------------------------- 1 | module my-project 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /03-projects/01-first-project/helper/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/01-first-project/helper/helper.go -------------------------------------------------------------------------------- /03-projects/01-first-project/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/01-first-project/main.go -------------------------------------------------------------------------------- /03-projects/02-consume-external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/README.md -------------------------------------------------------------------------------- /03-projects/02-consume-external/go.mod: -------------------------------------------------------------------------------- 1 | module hello 2 | 3 | go 1.16 4 | 5 | require github.com/softchris/math v0.2.0 6 | -------------------------------------------------------------------------------- /03-projects/02-consume-external/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/go.sum -------------------------------------------------------------------------------- /03-projects/02-consume-external/log-tester/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/log-tester/go.mod -------------------------------------------------------------------------------- /03-projects/02-consume-external/log-tester/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/log-tester/go.sum -------------------------------------------------------------------------------- /03-projects/02-consume-external/log-tester/helper/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/log-tester/helper/helper.go -------------------------------------------------------------------------------- /03-projects/02-consume-external/log-tester/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/log-tester/main.go -------------------------------------------------------------------------------- /03-projects/02-consume-external/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/02-consume-external/main.go -------------------------------------------------------------------------------- /03-projects/03-create-shared-module/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/03-create-shared-module/README.md -------------------------------------------------------------------------------- /03-projects/04-testing/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/.DS_Store -------------------------------------------------------------------------------- /03-projects/04-testing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/README.md -------------------------------------------------------------------------------- /03-projects/04-testing/coverage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/coverage.png -------------------------------------------------------------------------------- /03-projects/04-testing/go.mod: -------------------------------------------------------------------------------- 1 | module test-example 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /03-projects/04-testing/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/main.go -------------------------------------------------------------------------------- /03-projects/04-testing/math/c.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/math/c.out -------------------------------------------------------------------------------- /03-projects/04-testing/math/math.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/math/math.go -------------------------------------------------------------------------------- /03-projects/04-testing/math/math_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/03-projects/04-testing/math/math_test.go -------------------------------------------------------------------------------- /04-webdev/01-json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/01-json/README.md -------------------------------------------------------------------------------- /04-webdev/01-json/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/01-json/main.go -------------------------------------------------------------------------------- /04-webdev/01-json/orders.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/01-json/orders.go -------------------------------------------------------------------------------- /04-webdev/01-json/orders.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/01-json/orders.json -------------------------------------------------------------------------------- /04-webdev/01-json/person.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/01-json/person.json -------------------------------------------------------------------------------- /04-webdev/02-web-dev/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/02-web-dev/README.md -------------------------------------------------------------------------------- /04-webdev/02-web-dev/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/04-webdev/02-web-dev/main.go -------------------------------------------------------------------------------- /05-misc/01-logs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/01-logs/README.md -------------------------------------------------------------------------------- /05-misc/01-logs/batch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/01-logs/batch.go -------------------------------------------------------------------------------- /05-misc/01-logs/logfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/01-logs/logfile -------------------------------------------------------------------------------- /05-misc/01-logs/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/01-logs/main.go -------------------------------------------------------------------------------- /05-misc/01-logs/records.csv: -------------------------------------------------------------------------------- 1 | item,quantity 2 | 112, 2 3 | 94, 3 -------------------------------------------------------------------------------- /05-misc/01-logs/testlogfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/01-logs/testlogfile -------------------------------------------------------------------------------- /05-misc/02-strings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/02-strings/README.md -------------------------------------------------------------------------------- /05-misc/02-strings/contains.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/02-strings/contains.go -------------------------------------------------------------------------------- /05-misc/02-strings/presentation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/02-strings/presentation.go -------------------------------------------------------------------------------- /05-misc/02-strings/strings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/02-strings/strings.go -------------------------------------------------------------------------------- /05-misc/03-regex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/03-regex/README.md -------------------------------------------------------------------------------- /05-misc/03-regex/regex.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/03-regex/regex.go -------------------------------------------------------------------------------- /05-misc/03-regex/regex2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/03-regex/regex2.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/README.md -------------------------------------------------------------------------------- /05-misc/04-goroutines/channel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/channel.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/channel1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/channel1.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/file-search.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/file-search.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/first.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/first.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/04-goroutines/main.go -------------------------------------------------------------------------------- /05-misc/04-goroutines/other/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /05-misc/04-goroutines/other/test3.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /05-misc/04-goroutines/test/test.txt: -------------------------------------------------------------------------------- 1 | dfdf -------------------------------------------------------------------------------- /05-misc/04-goroutines/test/test2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /05-misc/05-sqlite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/05-sqlite/README.md -------------------------------------------------------------------------------- /05-misc/05-sqlite/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/05-sqlite/go.mod -------------------------------------------------------------------------------- /05-misc/05-sqlite/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/05-sqlite/go.sum -------------------------------------------------------------------------------- /05-misc/05-sqlite/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/05-sqlite/main.go -------------------------------------------------------------------------------- /05-misc/05-sqlite/mydb.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/05-misc/05-sqlite/mydb.db -------------------------------------------------------------------------------- /06-io/01-read-write-files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/01-read-write-files/README.md -------------------------------------------------------------------------------- /06-io/01-read-write-files/invoices.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/01-read-write-files/invoices.csv -------------------------------------------------------------------------------- /06-io/01-read-write-files/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/01-read-write-files/main.go -------------------------------------------------------------------------------- /06-io/02-file-directories/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/02-file-directories/README.md -------------------------------------------------------------------------------- /06-io/02-file-directories/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/02-file-directories/main.go -------------------------------------------------------------------------------- /06-io/02-file-directories/tmp/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /06-io/02-file-directories/tmp/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /06-io/03-compress-files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/03-compress-files/README.md -------------------------------------------------------------------------------- /06-io/fix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/README.md -------------------------------------------------------------------------------- /06-io/fix/dir/dir.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/dir/dir.go -------------------------------------------------------------------------------- /06-io/fix/file/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/file/file.go -------------------------------------------------------------------------------- /06-io/fix/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/go.mod -------------------------------------------------------------------------------- /06-io/fix/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/go.sum -------------------------------------------------------------------------------- /06-io/fix/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/main.go -------------------------------------------------------------------------------- /06-io/fix/products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/products.json -------------------------------------------------------------------------------- /06-io/fix/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/06-io/fix/test.txt -------------------------------------------------------------------------------- /06-io/fix/test2.txt: -------------------------------------------------------------------------------- 1 | here's some content 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DogSoulDev/golang-book/HEAD/_config.yml --------------------------------------------------------------------------------