Go
19.5K subscribers
14 photos
143 links
// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)
Download Telegram
Are you a beginner in GoLang? Then it requires your attention 🙂.
Good and simple for understanding article about microservice-based API development; just simple and work solution with code examples and couple of advices

#development #microservices #architecture #practice

https://medium.com/@thedevsaddam/build-restful-api-service-in-golang-using-gin-gonic-framework-85b1a6e176f3?source=linkShare-b636419a57de-1516910445
Great article about the architecture inside of Golang microservice, based on the Bob's Clean Architecture Concept (https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html)

Main points: Your GoLang microservice has 4 layers:
- Models, data structures, and their methods;
- Repository, the provider of DB operations and data management,
- Usecase for business logic implementation;
- Delivery, protocol, and algorithms for message handling (HTTP, gRPC, etc).

Each layer should be independent and be available for mocking, for internal communications between application layers.

An example project here: https://github.com/bxcodec/go-clean-arch

Full article on the Hackernoon website:
https://hackernoon.com/golang-clean-archithecture-efd6d7c43047
#development #microservices #architecture
How can we track our microservice activity and monitor some processes inside of the service? The Prometheus can helps us in it: the next following article discovers an step-by-step flow for set up, configure and usage this excellent product:

#development #microservices #monitoring

https://www.google.ru/amp/s/blog.alexellis.io/prometheus-monitoring/amp/
Very interesting article calls “From monoliths to microservices: an architectural strategy.” The structure of this post:

- Adopting Microservices;
- Microservices Architectural Patterns;
- Architectural & Implementation Considerations;
- Developer Productivity During Microservices Adoption;


#architecture #development #microservices

https://thenewstack.io/from-monolith-to-microservices