> For the complete documentation index, see [llms.txt](https://golang-microservices.rijalasepnugroho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://golang-microservices.rijalasepnugroho.com/readme.md).

# Go Guidance

Mempelajari pemrograman golang untuk pemula. Materi akan dibahas step by step dari basic sampai mahir. Ruang lingkup pembelajaran meliputi :

## [Basic](https://golang-microservices.rijalasepnugroho.com/golang-fundamental/01-basic.md)

* Install golang
* Hello world
* Package, type, constanta, variable, function
* Flow controll : if, else, switch, for, defer
* Array : array, slice, map

## [Struktur Data](https://golang-microservices.rijalasepnugroho.com/golang-fundamental/02-struktur-data.md)

* struct
* Method
* Interface
* Encapsulation, inheritance and polymorphism

## [Konkurensi](https://golang-microservices.rijalasepnugroho.com/golang-fundamental/03-konkurensi.md)

* Go routine
* Channel
* Channel dengan buffer
* Range dan close
* Select
* Select default
* Select timeout
* Sync Mutex
* Handling sync group routine

## [Concurrency Pattern](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/03-concurrency-pattern.md)

* [Worker Pool](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/04-worker-pool.md)
* [Future / Promise](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/08-future-promise.md)
* [Rate Limit Pattern](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/09-rate-limit.md)
* [Semaphore](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/10-semaphore.md)
* [Single Flight](https://golang-microservices.rijalasepnugroho.com/concurrency-pattern/12-single-flight.md)

## Build API Framework

Step by step membuat golang API framework, baik rest api maunpun grpc, baik monolit maupun microservices, baik monorepo maupun multirepo.

* [Start up](https://golang-microservices.rijalasepnugroho.com/build-api-framework/01-start-up.md)
* [Shutdown](https://golang-microservices.rijalasepnugroho.com/build-api-framework/02-shutdown.md)
* [Json](https://golang-microservices.rijalasepnugroho.com/build-api-framework/03-json.md)
* [Database](https://golang-microservices.rijalasepnugroho.com/build-api-framework/04-database.md)
* [Clean architecture](https://golang-microservices.rijalasepnugroho.com/build-api-framework/05-clean-architecture.md)
* [Configuration](https://golang-microservices.rijalasepnugroho.com/build-api-framework/06-configuration.md)
* [Fatal](https://golang-microservices.rijalasepnugroho.com/build-api-framework/07-fatal.md)
* [Bootstrap](https://golang-microservices.rijalasepnugroho.com/build-api-framework/08-bootstrap.md)
* [Logging](https://golang-microservices.rijalasepnugroho.com/build-api-framework/09-logging.md)
* [Routing](https://golang-microservices.rijalasepnugroho.com/build-api-framework/10-routing.md)
* [CRUD](https://golang-microservices.rijalasepnugroho.com/build-api-framework/11-crud.md)
* [Standard Response](https://golang-microservices.rijalasepnugroho.com/build-api-framework/12-standard-response.md)
* [Error handler](https://golang-microservices.rijalasepnugroho.com/build-api-framework/13-error-handler.md)
* [Context](https://golang-microservices.rijalasepnugroho.com/build-api-framework/14-context.md)
* [Validation](https://golang-microservices.rijalasepnugroho.com/build-api-framework/15-validation.md)
* [Middleware](https://golang-microservices.rijalasepnugroho.com/build-api-framework/16-middleware.md)
* [Token](https://golang-microservices.rijalasepnugroho.com/build-api-framework/17-token.md)
* [RBAC](https://golang-microservices.rijalasepnugroho.com/build-api-framework/18-rbac.md)
* [Pagination](https://golang-microservices.rijalasepnugroho.com/build-api-framework/19-pagination.md)
* [Unit testing](https://golang-microservices.rijalasepnugroho.com/build-api-framework/20-unit-testing.md)
* [API testing](https://golang-microservices.rijalasepnugroho.com/build-api-framework/21-api-testing.md)
* [Cache](https://golang-microservices.rijalasepnugroho.com/build-api-framework/22-cache.md)
* [Load Testing](https://golang-microservices.rijalasepnugroho.com/build-api-framework/load-testing.md)

## Referensi Tambahan

* [Buku "The Go Programing Language"](https://www.gopl.io/)
* [Dokumentasi Resmi Golang](https://golang.org/doc/)
