2 liens privés
Débuter avec AWS et Terraform en écrivant la configuration pour déployer une instance EC2 et s'y connecter en SSH
Today I wanted to talk about a useful pattern I started to use in my Go programs. Suppose you have some service that needs to connect to the database. This is how it probably looks like:
db, err := sqlx.Connect("postgres", DSN) if err != nil { return nil, errors.Wrap(err, "failed to connect to db") } Nice and familiar but why fail immediately? We can certainly do better!
We can just wait a little bit for a database in a loop because databases may come up later tha our service.
How to use the defer function in Golang to execute code at the beginning and the end of any function.
Data is exponentially increasing — 90% of the world’s data was created in just the last two years.
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
The name "ENTRYPOINT" always confused me. To me, the name implied that every container must have ENTRYPOINT defined. But after reading the official documentation, I realized that this is not true! Fact 1: You need at least one (ENTRYPOINT or CMD) defined (in order to run) If you don't define