2 Star 3 Fork 2

ollama / ollama

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.golangci.yaml 665 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2023-12-15 14:25 . add .golangci.yaml
run:
timeout: 5m
linters:
enable:
- asasalint
- bidichk
- bodyclose
- containedctx
- contextcheck
- exportloopref
- gocheckcompilerdirectives
# FIXME: for some reason this errors on windows
# - gofmt
# - goimports
- misspell
- nilerr
- unused
linters-settings:
errcheck:
# exclude the following functions since we don't generally
# need to be concerned with the returned errors
exclude-functions:
- encoding/binary.Read
- (*os.File).Seek
- (*bufio.Writer).WriteString
- (*github.com/spf13/pflag.FlagSet).Set
- (*github.com/jmorganca/ollama/llm.readSeekOffset).Seek
Go
1
https://gitee.com/ollama/ollama.git
git@gitee.com:ollama/ollama.git
ollama
ollama
ollama
main

搜索帮助