The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
type BaseFlag struct {
// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"required"`
// A concise description of this feature flag's purpose. Description string `json:"description,omitempty"`
}
type BooleanFlag struct {
BaseFlag// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"enum=boolean"`
// The value returned from an unsuccessful flag evaluation DefaultValue bool `json:"defaultValue,omitempty"`
}
type Change struct {
Type string `json:"type"`
Path string `json:"path"`
OldValue any `json:"oldValue,omitempty"`
NewValue any `json:"newValue,omitempty"`
}
type FloatFlag struct {
BaseFlag// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"enum=float"`
// The value returned from an unsuccessful flag evaluation DefaultValue float64 `json:"defaultValue,omitempty"`
}
type IntegerFlag struct {
BaseFlag// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"enum=integer"`
// The value returned from an unsuccessful flag evaluation DefaultValue int `json:"defaultValue,omitempty"`
}
type ObjectFlag struct {
BaseFlag// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"enum=object"`
// The value returned from an unsuccessful flag evaluation DefaultValue any `json:"defaultValue,omitempty"`
}
type StringFlag struct {
BaseFlag// The type of feature flag (e.g., boolean, string, integer, float) Type string `json:"flagType,omitempty" jsonschema:"enum=string"`
// The value returned from an unsuccessful flag evaluation DefaultValue string `json:"defaultValue,omitempty"`
}