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.

11 lines
92 B

11 years ago
11 years ago
  1. package common
  2. import (
  3. "fmt"
  4. "os"
  5. )
  6. func Exit(s string) {
  7. fmt.Printf(s)
  8. os.Exit(1)
  9. }