EN VI
Posts (0)
Questions (5)
2024-03-11 18:00:08
Go doesn't like that my mock implementation of the Client method returns a MockClient (which satisfies the MyClient interface) instead of a MyClient. It's totally fine for the method to return a MyC...
Tags: go
2024-03-12 04:00:11
The first thing you should do is remove the @ at the beginning of your makefile recipes, so you can see the actual commands that are being invoked, and check carefully that they contain what you expec...
Tags: windows go aws-lambda
2024-03-12 11:00:04
As per the docs for fmt: %o base 8 So you are printing your output in base 8, if you change this to base 10 (%d) you will get the expected results (playground). time="2009-11-10T23:00:00Z" level=inf...
Tags: go
2024-03-14 14:30:04
var i int = 0 is executed when you call inc(). In your first code, inc() is called only once at myinc := inc(). In second code, inc() is called three times.
Tags: go closures
2024-03-17 13:00:07
ast.Field represents a field declaration (and other things with a similar syntax). A field declaration can have more than one identifier. Here is the syntax from the specification: StructType = "s...

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login