Skip to content

nlnwa/gowarcserver

Repository files navigation

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 ./...

Test TIKV

Download tiup by following instructions at https://github.com/pingcap/tiup.

# Start TiKV
tiup playground --mode=tikv-slim --without-monitor

# Run test including TiKV tests
go test ./... -tags tikv

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages