push
travis-ci
225 of 225 new or added lines in 2 files covered. (100.0%)
180 of 225 relevant lines covered (80.0%)
11.29 hits per line
1 |
//+build !test
|
|
2 |
|
|
3 |
package main
|
|
4 |
|
|
5 |
import (
|
|
6 |
"fmt"
|
|
7 |
"os"
|
|
8 |
) |
|
9 |
|
|
|
func main() {
|
× |
|
defer func() { |
× |
|
err := recover()
|
× |
|
fmt.Println(err) |
× |
|
os.Exit(1)
|
× |
|
}() |
× |
16 |
|
|
|
if err := realMain(); err != nil { |
× |
|
os.Exit(1)
|
× |
|
} |
× |
|
os.Exit(0)
|
× |
21 |
} |