Skip to content

Commit 7fd9f68

Browse files
committed
Using vgo
Signed-off-by: Vishal Rana <[email protected]>
1 parent 2a61830 commit 7fd9f68

File tree

5 files changed

+8
-67
lines changed

5 files changed

+8
-67
lines changed

.travis.yml

+6-13
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

-45
This file was deleted.

Gopkg.toml

-7
This file was deleted.

LICENSE

+1-1
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

+1-1
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)