-
We pull in a few command-line tools for commit hooks, so they are not imported by anything, just listed in our Bunchfile.
eg:
```
github.com/kisielk/errcheck
github.com/barakmich/go-nyet
github.com/g…
-
## Information
**VIM version**
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Aug 10 2020 17:11:32)
Patch included: 1-1412
Operating System:
Linux ac 5.4.52-1-MANJARO #1 SMP PREEMPT Thu Ju…
ACXLM updated
3 years ago
-
In general, we prefer to avoid adding calls to `panic` into production code in the Cilium tree, as crashing the agent at runtime can have significant repercussions on the cluster, including:
- Incr…
-
### Context?
GitHub workflows can be used to automate some tasks which would generally take time doing manually and are better automated.
### What to do?
Create workflows for some common scenario…
-
We should include golint checks into our CI tests.
- [ ] Implement checks, output findings as warnings
- [ ] Fix all warnings
- [ ] Error out on findings
-
Change -
* https://sourcegraph.com/sqs/goreturns to http://github.com/sqs/goreturns ;
* https://github.com/golang/lint/golint to https://godoc.org/golang.org/x/lint/golint .
Files:
* https://g…
-
新增rbac模块
> 主要功能负责用户相关的鉴权等功能
1. 提供主要接口在authenticate.go 实现Authenticate 接口
2. 提供用户实体类在user.go 的UserInfo 结构体
重构代码
1. 操作k8s相关类在tools/k8s_(svc,ns,screts).go 中
2. 统一日志使用 logger.INFO logger.ERR…
-
Using golint output: https://github.com/golangci/golangci-lint-action/blob/master/src/run.ts#L137
-
Many users of protobuf would prefer to directly use generated structures within their application. The main benefit of using the generated types directly is reduced copying, allocation and bugs when m…
-
## Information
**VIM version**
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
Operating System: macOS Catalina 10.15.6
## What went wrong
I use ale for golang linter and fixer.
After I…