must
This commit is contained in:
parent
b1f4977263
commit
cdf2c40c1e
1 changed files with 8 additions and 0 deletions
8
binfo.go
8
binfo.go
|
@ -136,6 +136,14 @@ func Get() (Binfo, error) {
|
||||||
return b, merr.ErrorOrNil()
|
return b, merr.ErrorOrNil()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func MustGet() Binfo {
|
||||||
|
b, err := Get()
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
type SummaryMode uint
|
type SummaryMode uint
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue