nlnwa / gowarcserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gowarcserver

Test Release

A tool to index and serve contents of WARC files.

Development

Requirements

go version 1.19 or newer

Build

go build

Test

go test ./...

Lint

The GitHub Actions test workflow uses golangci-lint for linting.

Install the linter locally by following the steps described in golangci-lint's local installation guide.

Note that on linux the guide expects you to have $GOPATH/bin included in your PATH variable.

golangci-lint run -E "bodyclose" -E "dogsled" -E "durationcheck" -E "errorlint" -E "forcetypeassert" -E "noctx" -E "exhaustive" -E "exportloopref" --timeout 3m0s

About

License:Apache License 2.0


Languages

Language:Go 99.3%Language:Dockerfile 0.4%Language:Makefile 0.4%