Go library for parsing HTTP request header "Accept-Language".
$ go get github.com/strukturag/goacceptlanguageparser
$ python python/acceptlanguageparser.py
$ go test -v
$ go test -cpuprofile=/tmp/cpu.out -bench .
$ go tool pprof --text goacceptlanguageparser.test /tmp/cpu.out
Replace --text
with --callgrind
or to create a callgrind format file.
- "Fork".
- Make a feature branch.
- Make changes.
- Do your commits (run
go fmt
before commit). - Send "pull request".
goacceptlanguageparser
uses a BSD-style license, see our LICENSE
file.