Loading...
Loading...
Use this skill to write, refactor, or review Go code according to the Uber Go Style Guide. It ensures strict adherence to correctness, safety, and idiomatic patterns.
npx skill4agent add metalagman/agent-skills go-uber-style-guidepanicpanicos.Exitlog.Fatal*main()value, ok := interface{}.(Type)fmt.Errorf%w%vinit()init()go.uber.org/atomicerrorstringmakenewgo vetinit()init()MyStruct{Field: value}nillen(s) == 0varvar _ Interface = (*Type)(nil)sync.Mutexsync.RWMutexsync.WaitGroupchan struct{}time"time"time.Timetime.Durationtime.Timetime.Durationintfloat64Millis.AddDate.Addstrconvfmtstrconv[]bytemake()importconstvartypeif/else_varconsterr:=var/* paramName */bool`teststtgivewantOptionoptionsgo tool <toolname>golangci-lintgo.uber.org/goleakconstPrintfgo vetf