// FirstIDX is like FirstID, but panics if an error occurs.
FirstIDX is like FirstID, but panics if an error occurs.
// FirstIDX is like FirstID but panics if an error occurs .
func (aaq *APIAuditQuery) FirstIDX(ctx context.Context) string {
	id, err := aaq.FirstID(ctx)
	if err != nil && !IsNotFound(err) {
		panic(err)
	}
	return id
}
func ( aaq * APIAuditQuery ) FirstIDX ( ctx context . Context ) string { id , err := aaq . FirstID ( ctx ) if err != nil && ! IsNotFound ( err ) { panic ( err ) } return id }
FirstIDX is like FirstID, but panics if an error occurs.
FirstIDX is like FirstID but panics if an error occurs .