File tree 5 files changed +8
-67
lines changed
5 files changed +8
-67
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
go :
3
- - 1.7.x
4
- - 1.8.x
3
+ - 1.11.x
5
4
- 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
10
7
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)
18
11
matrix :
19
12
allow_failures :
20
13
- go : tip
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2015 labstack
3
+ Copyright (c) 2018 labstack
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ func (l *Logger) Panic(i ...interface{}) {
219
219
220
220
func (l * Logger ) Panicf (format string , args ... interface {}) {
221
221
l .log (panicLevel , format , args ... )
222
- panic (fmt .Sprintf (format , args ))
222
+ panic (fmt .Sprintf (format , args ... ))
223
223
}
224
224
225
225
func (l * Logger ) Panicj (j JSON ) {
You can’t perform that action at this time.
0 commit comments