Sponsored links
Other techs

VS Code does not start from WSL due to collapted file

VS Code doesn't start up from WSL… This problem occurred after showing a beautiful Windows blue screen!! It definitely b...
Other techs

How to add name servers in WSL2

When I tried git clone in WSL2, it failed to resolve the host because the name server is not set correctly. I write down...
Golang

Golang Is memory size doubled if passing a slice to a parameter?

Suppose you are one of the people who came from C or similar programming language and started using Golang. In that case...
Golang

Golang Type Switch does not work for a pointer in struct?

I wrote this article because I didn't know the behavior of type switch well especially when the target type is pointer t...
Golang

Golang What would be the simplest way to set the default value?

I needed to set the default value if a user did not put the property. There were several ways to set a default value, bu...
Other techs

Git Ignore indexed file but cannot switch to a branch if it’s modified

When we add a path to a directory or a file in .gitignore file, changes to those files are ignored. But sometimes we wan...
Dart and Flutter

Flutter How to create a circular color picker

There could be some packages that provide a circular color picker but I wanted to understand how it's implemented, so I ...
Dart and Flutter

Flutter How to apply gradient color background

To create a beautiful app, a gradient color background could be a good way to implement it. Let's see how to implement i...
Golang

Golang Guarantee to process only once by using sync.Once

If a shared resource is needed on multiple goroutines and the initialization must be done only once on one of the gorout...
Golang

Golang Use a pointer receiver to define a function for a struct

Do you recognize that there are two ways to define a method for a struct?func (m StructName) FuncName(){ // do something...
Sponsored links