https://ueokande.github.io/go-slice-tricks/

Golang is a trend now but there is a lot of projects where you have to avoid of using it.
Let’s start from what kind of benefits brings Golang for your team/project:
– Easy to learn and get started with. This helps to grow your team quickly and involve new people even without any experience with Golang.
– Built-in concurrency and a robust standard library. Which allows to utilise your CPU in the most effective way and easily create multithreading applications (channels, mutex, atomic etc.).
– Strict types helps to avoid some basic coding issues. So these options shows us that Golang is a good tool for high performance projects and big growing teams.
But otherwise when your team is small and you don’t need to solve high performance tasks. That means that you will have some troubles like a very big codebase.
– Lack of generics in Golang will make you to write / support more code.
– Writing of multithreading programms even in Golang requires to have senior engineers. So that means you will have to spend more money on your team without any incomes from using Golang.
– It will take more time to release because you will need to write/support a bigger codebase.
– Your project is not simple (it is not quite small like some CLI utilities or small service) and it should be build as a monolithic application with a small team
– Your budget is not big and you don’t have too much time for release
– Your project is new and you have to release it ASAP to make money
– You don’t have any high performance problems which can not be solved on your current technical stack
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:
All of us made something in the first time and the fear is a normal for everyone.
Like a tsar-president😎 https://onespace.co/palace/lounge 🎥 Create your own palace 🕌 without 100 billions at https://onespace.co 🌐
Опубликовано Ильдаром Усмановым Пятница, 5 февраля 2021 г.
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 git@github.com:wajox/gobase.git github.com/wajox/newproject
GitHub – https://github.com/wajox/clonegopkg
Here is my template for Golang Application – https://github.com/ildarusmanov/gobase https://github.com/wajox/gobase
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]
UPD:
Template has been updated and moved into wajox/gobase repository.