CursorPool
← 返回首页

Go 1.24

Modern Go 1.22, 1.23, 1.24 rules for Cursor. Teaches range-over-func iterators, log/slog, http.ServeMux method routing, errors.Is/As + %w wrapping, context-first APIs, and prevents io/ioutil, interface{}, panic(err), time.After leaks.

cursor.directory·0
规则

Go 1.24

Modern Go 1.22, 1.23, 1.24 rules for Cursor. Teaches range-over-func iterators, log/slog, http.ServeMux method routing, errors.Is/As + %w wrapping, context-first APIs, and prevents io/ioutil, interface{}, panic(err), time.After leaks.

Modern Go 1.22, 1.23, 1.24 rules for Cursor. Teaches range-over-func iterators, log/slog, http.ServeMux method routing, errors.Is/As + %w wrapping, context-first APIs, and prevents io/ioutil, interface{}, panic(err), time.After leaks.

来源:https://github.com/RoninForge/roninforge-go