// OnlyX is like Only, but panics if an error occurs.
OnlyX is like Only, but panics if an error occurs.
// OnlyX is like Only but panics if an error occurs .
func (aaq *APIAuditQuery) OnlyX(ctx context.Context) *APIAudit {
	node, err := aaq.Only(ctx)
	if err != nil {
		panic(err)
	}
	return node
}
func ( aaq * APIAuditQuery ) OnlyX ( ctx context . Context ) * APIAudit { node , err := aaq . Only ( ctx ) if err != nil { panic ( err ) } return node }
OnlyX is like Only, but panics if an error occurs.
OnlyX is like Only but panics if an error occurs .