* go mod init; rm -rf vendor * tweak proto files and generation * go mod vendor * clean up build.go * protobuf literals in tests * downgrade gogo/protobuf
This commit is contained in:
4
vendor/github.com/oschwald/maxminddb-golang/.gitignore
generated
vendored
Normal file
4
vendor/github.com/oschwald/maxminddb-golang/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
.vscode
|
||||
*.out
|
||||
*.sw?
|
||||
*.test
|
||||
3
vendor/github.com/oschwald/maxminddb-golang/.gitmodules
generated
vendored
Normal file
3
vendor/github.com/oschwald/maxminddb-golang/.gitmodules
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "test-data"]
|
||||
path = test-data
|
||||
url = https://github.com/maxmind/MaxMind-DB.git
|
||||
23
vendor/github.com/oschwald/maxminddb-golang/.travis.yml
generated
vendored
Normal file
23
vendor/github.com/oschwald/maxminddb-golang/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.4
|
||||
- 1.5
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.8
|
||||
- tip
|
||||
|
||||
before_install:
|
||||
- "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then go get -v github.com/golang/lint/golint; fi"
|
||||
|
||||
install:
|
||||
- go get -v -t ./...
|
||||
|
||||
script:
|
||||
- go test -race -cpu 1,4 -v
|
||||
- go test -race -v -tags appengine
|
||||
- "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then go vet ./...; fi"
|
||||
- "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then golint .; fi"
|
||||
|
||||
sudo: false
|
||||
38
vendor/github.com/oschwald/maxminddb-golang/README.md
generated
vendored
Normal file
38
vendor/github.com/oschwald/maxminddb-golang/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# MaxMind DB Reader for Go #
|
||||
|
||||
[](https://travis-ci.org/oschwald/maxminddb-golang)
|
||||
[](https://ci.appveyor.com/project/oschwald/maxminddb-golang/branch/master)
|
||||
[](https://godoc.org/github.com/oschwald/maxminddb-golang)
|
||||
|
||||
This is a Go reader for the MaxMind DB format. Although this can be used to
|
||||
read [GeoLite2](http://dev.maxmind.com/geoip/geoip2/geolite2/) and
|
||||
[GeoIP2](https://www.maxmind.com/en/geoip2-databases) databases,
|
||||
[geoip2](https://github.com/oschwald/geoip2-golang) provides a higher-level
|
||||
API for doing so.
|
||||
|
||||
This is not an official MaxMind API.
|
||||
|
||||
## Installation ##
|
||||
|
||||
```
|
||||
go get github.com/oschwald/maxminddb-golang
|
||||
```
|
||||
|
||||
## Usage ##
|
||||
|
||||
[See GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) for
|
||||
documentation and examples.
|
||||
|
||||
## Examples ##
|
||||
|
||||
See [GoDoc](http://godoc.org/github.com/oschwald/maxminddb-golang) or
|
||||
`example_test.go` for examples.
|
||||
|
||||
## Contributing ##
|
||||
|
||||
Contributions welcome! Please fork the repository and open a pull request
|
||||
with your changes.
|
||||
|
||||
## License ##
|
||||
|
||||
This is free software, licensed under the ISC License.
|
||||
19
vendor/github.com/oschwald/maxminddb-golang/appveyor.yml
generated
vendored
Normal file
19
vendor/github.com/oschwald/maxminddb-golang/appveyor.yml
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
version: "{build}"
|
||||
|
||||
os: Windows Server 2012 R2
|
||||
|
||||
clone_folder: c:\gopath\src\github.com\oschwald\maxminddb-golang
|
||||
|
||||
environment:
|
||||
GOPATH: c:\gopath
|
||||
|
||||
install:
|
||||
- echo %PATH%
|
||||
- echo %GOPATH%
|
||||
- git submodule update --init --recursive
|
||||
- go version
|
||||
- go env
|
||||
- go get -v -t ./...
|
||||
|
||||
build_script:
|
||||
- go test -v ./...
|
||||
Reference in New Issue
Block a user