Always use typed arguments for functions in Go
Sep 10, 2023 · 3 min read · Consider you have a function, that accepts two string arguments such as apiKey and apiSecret. Here is a pseudo function to address the problem: func fooClient(apiKey, apiSecret string) error { // do the implementation here... panic("not imple...
Join discussion
