Skip to content

Commit 7fd9f68

Browse files
committed
Using vgo
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 2a61830 commit 7fd9f68

File tree

5 files changed

+8
-67
lines changed

5 files changed

+8
-67
lines changed

.travis.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
language: go
22
go:
3-
- 1.7.x
4-
- 1.8.x
3+
- 1.11.x
54
- tip
6-
before_install:
7-
- go get github.com/modocache/gover
8-
- go get github.com/mattn/goveralls
9-
- go get golang.org/x/tools/cmd/cover
5+
env:
6+
- GO111MODULE=on
107
script:
11-
- go test -race ./...
12-
- go test -coverprofile=color.coverprofile ./color
13-
- go test -coverprofile=bytes.coverprofile ./bytes
14-
- go test -coverprofile=log.coverprofile ./log
15-
- go test -coverprofile=random.coverprofile ./random
16-
- gover
17-
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
8+
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
9+
after_success:
10+
- bash <(curl -s https://codecov.io/bash)
1811
matrix:
1912
allow_failures:
2013
- go: tip

Gopkg.lock

Lines changed: 0 additions & 45 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 labstack
3+
Copyright (c) 2018 labstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (l *Logger) Panic(i ...interface{}) {
219219

220220
func (l *Logger) Panicf(format string, args ...interface{}) {
221221
l.log(panicLevel, format, args...)
222-
panic(fmt.Sprintf(format, args))
222+
panic(fmt.Sprintf(format, args...))
223223
}
224224

225225
func (l *Logger) Panicj(j JSON) {

0 commit comments

Comments
 (0)