2014-06-17 01:28:43 -07:00
|
|
|
package common
|
2014-06-05 11:04:56 -07:00
|
|
|
|
|
|
|
import (
|
2014-07-01 14:50:24 -07:00
|
|
|
"fmt"
|
2014-06-05 11:04:56 -07:00
|
|
|
)
|
|
|
|
|
2014-06-18 20:48:07 -07:00
|
|
|
func Panicf(s string, args ...interface{}) {
|
2014-07-01 14:50:24 -07:00
|
|
|
panic(fmt.Sprintf(s, args...))
|
2014-06-05 11:04:56 -07:00
|
|
|
}
|