Versions in this module Expand all Collapse all v0 v0.1.1 Sep 22, 2026 v0.1.0 Sep 22, 2026 Changes in this version + type APIError struct + Body string + StatusCode int + func (e *APIError) Error() string + type Field = data.Field + type Jev struct + func New(apiKey string, opts ...Option) (*Jev, error) + func (j *Jev) Request(ctx context.Context, state string, questions ...Question) (*data.Response, error) + func (j Jev) Format(f fmt.State, _ rune) + type Logger interface + Debug func(msg string, args ...any) + type Option func(j *Jev) + func WithClient(c *http.Client) Option + func WithEndpoint(endpoint string) Option + func WithLogger(l Logger) Option + func WithModel(model string) Option + type Question struct + func Choice(key, question string, criteria map[string]string) Question + func Noul(key, question string) Question + func Score(key, question string, scale ...string) Question + func (q Question) Key() string + func (q Question) Set(key string, value any) Question + func (q Question) Validate() error + func (q Question) WithCompare(paths ...string) Question + func (q Question) WithCriteria(criteria map[string]string) Question + func (q Question) WithExtractedValue(value any) Question + func (q Question) WithField(f Field) Question + func (q Question) WithFocus(focus string) Question + func (q Question) WithNote(note string) Question