Author Pablo Picouto García
Examples of the most important features of this languages.
In order to follow examples, it's better read from top to bottom of the page.
Is this repo useful? Please ⭑Star this repository and share the love.
- Types
- Collections
- Conditions
- Functions
- Methods
- Interfaces
- Error Handling
- Concurrency
- Pointers
- Context
- Dependency Injection & DDD
- Publisher/Subscriber
- Functional options
- Builder pattern
- Decorator pattern
- Observer pattern
- Pattern matching
- Strategy
- Circuit breaker
Examples of Kubernetes Operators, that use Go client for talking to a kubernetes cluster.
Each operator is divide in the Operator_test that run the test and the Controller with the extended methods that interact with K8s API
Example of IMDb service implemented using GraphQL
You can run the test scenario and then make some queries like
curl -g 'http://localhost:12345/imdb?query={actors(movie:"Matrix"){name,age}}'
curl -g 'http://localhost:12345/imdb?query={actors(movie:"Fight_club"){name,age}}'
Example of performance test using this awesome library
A Project example implemented with Hexagonal architecture.
In this project we apply architect design patterns like CQRS:Command-Query-responsibility-segregation
and Event Sourcing
We also implement idempotent
for POST Operations