Sometimes we have a task that causes a feeling of fear. This fear appears because the task has something new, something in what I am not experienced yet.
My list about how to solve this and defeat such fears:
- Relax and think why you have a fear
- Ask your supervisor/teammate for advice/support
- Find some examples of solutions for a similar task
- Prepare first version of solution and discuss it with somemone (superviser, client, teammate)
- Update your solution according to feedback from them and go back for review with your supervisor/teammate
Steps 4-5 are repeatable unless you have a proper solution.
All of us made something in the first time and the fear is a normal for everyone.
Here is my DBAL implementation for mongoDB that I am using in my daily routines.
It contains features that I am using frequently it does not contain any implementation for DSL or Query Builders.
All extra features will be added later or maybe I will put it into a different library.
CloneGoPkg is a simple CLI tool to create your own package from template based on any git repository
go install -i github.com/wajox/clonegopkg
# clonegopkg clone [git_repository_template] [new_pkg]
clonegopkg clone firstname.lastname@example.org:wajox/gobase.git github.com/wajox/newproject
GitHub – https://github.com/wajox/clonegopkg
What is Watermill?
“Watermill is a Golang library for working efficiently with message streams. It is intended for building event-driven applications. It can be used for event sourcing, RPC over messages, sagas, and whatever else comes to your mind. You can use conventional pub/sub implementations like Kafka or RabbitMQ, but also HTTP or MySQL binlog, if that fits your use case.
It comes with a set of Pub/Sub implementations and can be easily extended by your own.
Watermill also ships with standard middlewares like instrumentation, poison queue, throttling, correlation, and other tools used by every message-driven application.”
Why use Watermill?
“With more projects adopting the microservices pattern over recent years, we realized that synchronous communication is not always the right choice. Asynchronous methods started to grow as a new standard way to communicate.
But while there’s a lot of existing tooling for synchronous integration patterns (e.g. HTTP), correctly setting up a message-oriented project can be a challenge. There’s a lot of different message queues and streaming systems, each with different features and client library API.
Watermill aims to be the standard messaging library for Go, hiding all that complexity behind an API that is easy to understand. It provides all you might need for building an application based on events or other asynchronous patterns. After looking at the examples, you should be able to quickly integrate Watermill with your project.”
Here is my template for Golang Application –
Only one thing that you have to do after git clone – replace all package name entries, from
github.com/ildarusmanov/gobase github.com/wajox/gobase to [your_package_name]
Template has been updated and moved into wajox/gobase repository.
Приглашаю всех на ИТ конференцию в г.Иннополис 🙂
ИННОПОЛИС, РЕСПУБЛИКА ТАТАРСТАН
IT Nights – Первая ночная конференция
Потому что ночью происходит
всё самое интересное.
ПОДРОБНЕЕ О ГОРОДЕ:
Иннопо́лис — город в Верхнеуслонском районе Республики Татарстан, город-спутник Казани, входящий в её агломерацию. В поселении расположены Университет Иннополис и особая экономическая зона «Иннополис».