updated deps

This commit is contained in:
konrad 2018-09-08 13:50:18 +02:00
parent f47d4586c4
commit 6c7f8fd89a
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
4 changed files with 77 additions and 77 deletions

View file

@ -1,9 +1,9 @@
y.output y.output
# ignore intellij files # ignore intellij files
.idea .idea
*.iml *.iml
*.ipr *.ipr
*.iws *.iws
*.test *.test

View file

@ -1,18 +1,18 @@
TEST?=./... TEST?=./...
default: test default: test
fmt: generate fmt: generate
go fmt ./... go fmt ./...
test: generate test: generate
go get -t ./... go get -t ./...
go test $(TEST) $(TESTARGS) go test $(TEST) $(TESTARGS)
generate: generate:
go generate ./... go generate ./...
updatedeps: updatedeps:
go get -u golang.org/x/tools/cmd/stringer go get -u golang.org/x/tools/cmd/stringer
.PHONY: default generate test updatedeps .PHONY: default generate test updatedeps

View file

@ -1,29 +1,29 @@
# This is a TOML document. Boom. # This is a TOML document. Boom.
title = "TOML Example" title = "TOML Example"
[owner] [owner]
name = "Tom Preston-Werner" name = "Tom Preston-Werner"
organization = "GitHub" organization = "GitHub"
bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." bio = "GitHub Cofounder & CEO\nLikes tater tots and beer."
dob = 1979-05-27T07:32:00Z # First class dates? Why not? dob = 1979-05-27T07:32:00Z # First class dates? Why not?
[database] [database]
server = "192.168.1.1" server = "192.168.1.1"
ports = [ 8001, 8001, 8002 ] ports = [ 8001, 8001, 8002 ]
connection_max = 5000 connection_max = 5000
enabled = true enabled = true
[servers] [servers]
# You can indent as you please. Tabs or spaces. TOML don't care. # You can indent as you please. Tabs or spaces. TOML don't care.
[servers.alpha] [servers.alpha]
ip = "10.0.0.1" ip = "10.0.0.1"
dc = "eqdc10" dc = "eqdc10"
[servers.beta] [servers.beta]
ip = "10.0.0.2" ip = "10.0.0.2"
dc = "eqdc10" dc = "eqdc10"
[clients] [clients]
data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it

View file

@ -1,21 +1,21 @@
sudo: false sudo: false
language: go language: go
go: go:
- 1.9 - 1.9
- "1.10" - "1.10"
- tip - tip
os: os:
- linux - linux
- osx - osx
matrix: matrix:
allow_failures: allow_failures:
- go: tip - go: tip
fast_finish: true fast_finish: true
script: script:
- go build - go build
- go test -race -v ./... - go test -race -v ./...