Satisfy the go linter
You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?
Start file
package vars
var (
Version string
Debug bool
)
End file
package vars
var (
// Version TODO
Version string
// Debug TODO
Debug bool
)
View Diff
3a4
> // Version TODO
4a6
> // Debug TODO
Solutions by @EshelBM:
Unlock 6 remaining solutions by signing in and submitting your own entry