Cleanup
This commit is contained in:
@ -3,7 +3,6 @@ package arn
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
"path"
|
||||
@ -311,11 +310,6 @@ func ListItemStatusName(status string) string {
|
||||
}
|
||||
}
|
||||
|
||||
// IsTest returns true if the program is currently running in the "go test" tool.
|
||||
func IsTest() bool {
|
||||
return flag.Lookup("test.v") != nil
|
||||
}
|
||||
|
||||
// PanicOnError will panic if the error is not nil.
|
||||
func PanicOnError(err error) {
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user