sbuf: linter fixes

This commit is contained in:
2025-11-15 19:53:18 -08:00
parent 3d9625b40b
commit fdff2e0afe
3 changed files with 34 additions and 35 deletions

View File

@@ -228,6 +228,8 @@ linters:
# Such cases aren't reported by default.
# Default: false
check-type-assertions: true
exclude-functions:
- (*git.wntrmute.dev/kyle/goutils/sbuf.Buffer).Write
exhaustive:
# Program elements to check for exhaustiveness.