runner/internal/pkg/client
Bo-Yi Wu db662b3690 ci(lint): refactor code for clarity and linting compliance (#289)
- Removed `deadcode`, `structcheck`, and `varcheck` linters from `.golangci.yml`
- Fixed a typo in a comment in `daemon.go`
- Renamed `defaultActionsUrl` to `defaultActionsURL` in `exec.go`
- Removed unnecessary else clause in `exec.go` and `runner.go`
- Simplified variable initialization in `exec.go`
- Changed function name from `getHttpClient` to `getHTTPClient` in `http.go`
- Removed unnecessary else clause in `labels_test.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/289
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-07-13 01:10:54 +00:00
..
mocks Support changing labels (#201) 2023-06-15 03:59:15 +00:00
client.go Skip counting log length when parseLogRow return nil (#176) 2023-05-06 17:00:52 +08:00
header.go Support changing labels (#201) 2023-06-15 03:59:15 +00:00
http.go ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00