func main() { ctx := context.Background() kami.Context = ctx kami.PanicHandler = PanicHandler kami.Get("/", index) rollbar.Message(rollbar.INFO, "test") kami.Serve() }
func ReportInfo(message string) { fmt.Println("Message:", message) rollbar.Message("info", message) }
func ReportDebug(message string) { fmt.Println("Debug:", message) rollbar.Message("debug", message) }