1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 01:53:36 -05:00
v2fly/common/common.go

11 lines
226 B
Go
Raw Normal View History

2016-02-03 16:54:02 -05:00
// Package common contains common utilities that are shared among other packages.
// See each sub-package for detail.
package common
2016-03-09 18:33:01 -05:00
2016-12-27 18:53:29 -05:00
// Must panics if err is not nil.
func Must(err error) {
if err != nil {
panic(err)
}
}