Issues
- 0
- 4
- 0
关于Tip #10 Avoid Naked Parameters
#172 opened by wzlove - 2
关于#Tip #8: Wrapping Errors. 标题
#168 opened by baxiang - 1
【任务认领】Golang Tip #34: Lead with context, end with options, and always close with an error
#157 opened by lylex - 1
【任务认领】Golang Tip #64: Make main() clean and testable
#155 opened by baxiang - 1
- 2
- 2
【任务认领】Golang Tip #32: Scheduling functions after context cancellation with context.AfterFunc
#105 opened by LinPr - 0
【任务认领】Golang Tip #36: Naming Unexported Global Variables with an Underscore (_) Prefix.
#156 opened by baxiang - 0
【任务认领】Golang Tip #57: Flag Enums in Go
#131 opened by baxiang - 0
- 0
【任务认领】Golang Tip #52: Adjusting GOMAXPROCS for Containerized Env (Kubernetes, Docker, etc.)
#71 opened by baxiang - 0
- 1
【任务认领】Golang Tip #46: Avoid using break in switch cases, except when paired with labels.
#72 opened by baxiang - 0
- 0
- 1
- 0
- 0
- 0
- 1
【任务认领】Golang Tip #53: Enums start from 1 for categorization and 0 for default cases
#127 opened by baxiang - 0
- 0
【任务认领】Golang Tip #54: Only define errors (var Err = errors.New) when it's necessary for your client
#126 opened by lylex - 0
【任务认领】Golang Tip #18: Define interfaces in the consumer package, not the producer.
#111 opened by syjs10 - 0
【任务认领】Golang Tip #51: Avoid using init()
#152 opened by syjs10 - 0
【任务认领】Golang Tip #51: Avoid using init()
#134 opened by richzw - 0
【任务认领】Golang Tip #17: Understanding "Return fast, return early" to avoid nested code.
#93 opened by icyfire - 0
【任务认领】Golang Tip #29: Avoid context.Background(), make your goroutines promisable.
#118 opened by stonemax - 0
【任务认领】Golang Tip #41: Sort your fields in your struct from largest to smallest.
#128 opened by justlorain - 0
- 0
【任务认领】Golang Tip #57: Flag Enums in Go
#145 opened by hqqlala - 1
- 0
- 0
- 0
【任务认领】Golang Tip #33: Just... Don’t Panic()
#113 opened by baxiang - 0
【任务认领】Golang Tip #25: Prefer 'chan struct{}' over 'chan bool' for signaling between goroutines.
#119 opened by justlorain - 0
【任务认领】Golang Tip #22: Simplify function signatures with structs or variadic options
#108 opened by zhubiaook - 0
- 0
- 0
- 0
【任务认领】Golang Tip #10: Avoid Naked Parameters
#73 opened by smallnest - 0
【任务认领】Golang Tip #61: Making a Type with Built-In Locking (sync.Mutex embedding)
#88 opened by richzw - 1
【任务认领】 Golang Tip #28: Converting multiple if-else statements into switch cases
#80 opened by zzzpppy - 0
【任务认领】Golang Tip #59: If a parameter isn't needed, either drop it or ignore it on purpose
#75 opened by TravisRoad - 2
【任务认领】Golang Tip #46: Avoid using break in switch cases, except when paired with labels.
#74 opened by LinPr - 1
【任务认领】 Golang Tip #56: Simplify interfaces and only ask for what you really need
#77 opened by cannian1 - 0
【任务认领】Golang Tip #63: Avoid time.Sleep(), it's not context-aware and can't be interrupted.
#66 opened by richzw - 0
【任务认领】Golang Tip #20: Pass values, not pointers
#64 opened by smallnest - 1