Articles

Only showing: beginner Show all

CLI commands with google/subcommands

How to create CLI programs with multiple commands, flags and subcommands, and do it fast and simply?

google/subcommands makes it a breeze.

Let us see how.

Error handling with Go 1.14

When programming in Go 1.14, error handling is no longer limited to the error interface.

Discover error wrapping, introduced with Go 1.13, and slowly generalized in the Go 1.14 runtime library.

From PHP to Go: PHP2Go

For advanced PHP developers, stepping into Go is often more attractive than Node.JS. But the Go library seems to be missing so much useful stuff found in the PHP library. How can one switch faster ?