├── array-and-slice ├── go.mod └── main.go ├── channel ├── go.mod └── main.go ├── controlflow ├── go.mod └── main.go ├── function ├── go.mod └── main.go ├── generics ├── go.mod └── main.go ├── goroutines ├── go.mod └── main.go ├── hashmap ├── go.mod └── main.go ├── helloworld ├── go.mod └── main.go ├── interface ├── go.mod └── main.go ├── loop ├── .vscode │ └── launch.json ├── go.mod └── main.go ├── mutex ├── go.mod └── main.go ├── operators ├── go.mod └── main.go ├── package ├── calculator │ ├── calculator.go │ └── multiply.go ├── go.mod ├── go.sum └── main.go ├── pointers ├── go.mod └── main.go ├── struct ├── go.mod └── main.go └── variables ├── go.mod └── main.go /array-and-slice/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/arrayandslice 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /array-and-slice/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/array-and-slice/main.go -------------------------------------------------------------------------------- /channel/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/channel 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /channel/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/channel/main.go -------------------------------------------------------------------------------- /controlflow/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/controlflow 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /controlflow/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/controlflow/main.go -------------------------------------------------------------------------------- /function/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/function 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /function/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/function/main.go -------------------------------------------------------------------------------- /generics/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/generics 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /generics/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/generics/main.go -------------------------------------------------------------------------------- /goroutines/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/goroutines 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /goroutines/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/goroutines/main.go -------------------------------------------------------------------------------- /hashmap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/hashmap 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /hashmap/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/hashmap/main.go -------------------------------------------------------------------------------- /helloworld/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/helloworld 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /helloworld/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/helloworld/main.go -------------------------------------------------------------------------------- /interface/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/interfacex 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /interface/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/interface/main.go -------------------------------------------------------------------------------- /loop/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/loop/.vscode/launch.json -------------------------------------------------------------------------------- /loop/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/loop 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /loop/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/loop/main.go -------------------------------------------------------------------------------- /mutex/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/mutex 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /mutex/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/mutex/main.go -------------------------------------------------------------------------------- /operators/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/operators 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /operators/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/operators/main.go -------------------------------------------------------------------------------- /package/calculator/calculator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/package/calculator/calculator.go -------------------------------------------------------------------------------- /package/calculator/multiply.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/package/calculator/multiply.go -------------------------------------------------------------------------------- /package/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/package/go.mod -------------------------------------------------------------------------------- /package/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/package/go.sum -------------------------------------------------------------------------------- /package/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/package/main.go -------------------------------------------------------------------------------- /pointers/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/pointers 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /pointers/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/pointers/main.go -------------------------------------------------------------------------------- /struct/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/structtype 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /struct/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/struct/main.go -------------------------------------------------------------------------------- /variables/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Rayato159/variables 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /variables/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rayato159/go-basic/HEAD/variables/main.go --------------------------------------------------------------------------------