You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
120 B

11 years ago
11 years ago
  1. package common
  2. import (
  3. "fmt"
  4. )
  5. func Panicf(s string, args ...interface{}) {
  6. panic(fmt.Sprintf(s, args...))
  7. }