package must

import "go.abhg.dev/doc2go/internal/must"

Package must provides helper functions to assert program invariants. The program will panic if an invariant is violated.

Index

Functions

func NotErrorf

func NotErrorf(err error, format string, args ...interface{})

NotErrorf panics with the given message if the error is not nil.