3 ms·
To "use" unused variables, I pass them to the following function: // PretendToUse is an empty function to shut up the Go compiler while prototyping fun
by bbkane 6y ago
To "use" unused variables, I pass them to the following function:
// PretendToUse is an empty function to shut up the Go compiler while prototyping
func PretendToUse(args ...interface{}) {}
PretendToUs(var1, var2)