Working auth and photo json endpoint
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
ef275f97f4
commit
e4323b6047
2032 changed files with 821464 additions and 52 deletions
39
vendor/github.com/google/open-location-code/go/README.md
generated
vendored
Normal file
39
vendor/github.com/google/open-location-code/go/README.md
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
[](http://godoc.org/github.com/google/open-location-code/go)
|
||||
|
||||
# Formatting
|
||||
|
||||
Go files must be formatted with [gofmt](https://golang.org/cmd/gofmt/), and the
|
||||
tests will check that this is the case. If the files are not correctly
|
||||
formatted, the tests will fail.
|
||||
|
||||
You can format your files by running:
|
||||
|
||||
gofmt -w -s .
|
||||
|
||||
# Testing
|
||||
|
||||
Run the unit tests from within the `go` directory with:
|
||||
|
||||
```
|
||||
go test . -v
|
||||
```
|
||||
|
||||
To also run the benchmark tests, run:
|
||||
|
||||
```
|
||||
go test -bench=. . -v
|
||||
```
|
||||
|
||||
## Test with Go-Fuzz
|
||||
|
||||
go get github.com/dvyukov/go-fuzz/...
|
||||
|
||||
go generate github.com/google/open-location-code/go
|
||||
|
||||
go-fuzz-build github.com/google/open-location-code/go
|
||||
go-fuzz -bin=./olc-fuzz.zip -workdir=/tmp/olc-fuzz
|
||||
|
||||
# Install
|
||||
|
||||
go get github.com/google/open-location-code/go
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue