├── .gitignore ├── README.md ├── basic_concepts ├── README.md ├── go.mod ├── helper │ └── helper.go └── main.go ├── go.mod ├── mini_projects ├── auth-go │ ├── README.md │ └── http-servemux │ │ ├── auth.go │ │ ├── cerbos │ │ └── policies │ │ │ └── resource_policy.yaml │ │ ├── db.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go ├── crud-k8s │ ├── README.md │ ├── go.mod │ ├── go.sum │ └── main.go └── rest-api │ ├── README.md │ ├── body.json │ ├── go.mod │ ├── go.sum │ └── main.go └── tests_driven_development ├── 01_helloworld ├── README.md ├── hello.go └── hello_test.go ├── 02_integers ├── adder_test.go └── main.go ├── 03_iteration ├── README.md ├── iteration_test.go └── main.go ├── 04_arrays_slices ├── README.md ├── array_test.go └── main.go ├── 05_structs_interfaces ├── README.md ├── main.go └── structs_test.go └── 06_pointers_errors ├── README.md ├── go.mod ├── main.go └── pts_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/README.md -------------------------------------------------------------------------------- /basic_concepts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/basic_concepts/README.md -------------------------------------------------------------------------------- /basic_concepts/go.mod: -------------------------------------------------------------------------------- 1 | module Go-Learn/basics 2 | 3 | go 1.21.5 4 | -------------------------------------------------------------------------------- /basic_concepts/helper/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/basic_concepts/helper/helper.go -------------------------------------------------------------------------------- /basic_concepts/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/basic_concepts/main.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/verma-kunal/everything-Go 2 | 3 | go 1.22.1 4 | -------------------------------------------------------------------------------- /mini_projects/auth-go/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/README.md -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/auth.go -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/cerbos/policies/resource_policy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/cerbos/policies/resource_policy.yaml -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/db.go -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/go.mod -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/go.sum -------------------------------------------------------------------------------- /mini_projects/auth-go/http-servemux/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/auth-go/http-servemux/main.go -------------------------------------------------------------------------------- /mini_projects/crud-k8s/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/crud-k8s/README.md -------------------------------------------------------------------------------- /mini_projects/crud-k8s/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/crud-k8s/go.mod -------------------------------------------------------------------------------- /mini_projects/crud-k8s/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/crud-k8s/go.sum -------------------------------------------------------------------------------- /mini_projects/crud-k8s/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/crud-k8s/main.go -------------------------------------------------------------------------------- /mini_projects/rest-api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/rest-api/README.md -------------------------------------------------------------------------------- /mini_projects/rest-api/body.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/rest-api/body.json -------------------------------------------------------------------------------- /mini_projects/rest-api/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/rest-api/go.mod -------------------------------------------------------------------------------- /mini_projects/rest-api/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/rest-api/go.sum -------------------------------------------------------------------------------- /mini_projects/rest-api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/mini_projects/rest-api/main.go -------------------------------------------------------------------------------- /tests_driven_development/01_helloworld/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/01_helloworld/README.md -------------------------------------------------------------------------------- /tests_driven_development/01_helloworld/hello.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/01_helloworld/hello.go -------------------------------------------------------------------------------- /tests_driven_development/01_helloworld/hello_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/01_helloworld/hello_test.go -------------------------------------------------------------------------------- /tests_driven_development/02_integers/adder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/02_integers/adder_test.go -------------------------------------------------------------------------------- /tests_driven_development/02_integers/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/02_integers/main.go -------------------------------------------------------------------------------- /tests_driven_development/03_iteration/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/03_iteration/README.md -------------------------------------------------------------------------------- /tests_driven_development/03_iteration/iteration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/03_iteration/iteration_test.go -------------------------------------------------------------------------------- /tests_driven_development/03_iteration/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/03_iteration/main.go -------------------------------------------------------------------------------- /tests_driven_development/04_arrays_slices/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/04_arrays_slices/README.md -------------------------------------------------------------------------------- /tests_driven_development/04_arrays_slices/array_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/04_arrays_slices/array_test.go -------------------------------------------------------------------------------- /tests_driven_development/04_arrays_slices/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/04_arrays_slices/main.go -------------------------------------------------------------------------------- /tests_driven_development/05_structs_interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/05_structs_interfaces/README.md -------------------------------------------------------------------------------- /tests_driven_development/05_structs_interfaces/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/05_structs_interfaces/main.go -------------------------------------------------------------------------------- /tests_driven_development/05_structs_interfaces/structs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/05_structs_interfaces/structs_test.go -------------------------------------------------------------------------------- /tests_driven_development/06_pointers_errors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/06_pointers_errors/README.md -------------------------------------------------------------------------------- /tests_driven_development/06_pointers_errors/go.mod: -------------------------------------------------------------------------------- 1 | module example.com/pointers 2 | 3 | go 1.22.1 4 | -------------------------------------------------------------------------------- /tests_driven_development/06_pointers_errors/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/06_pointers_errors/main.go -------------------------------------------------------------------------------- /tests_driven_development/06_pointers_errors/pts_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/verma-kunal/everything-Go/HEAD/tests_driven_development/06_pointers_errors/pts_test.go --------------------------------------------------------------------------------