Signature
Returns
A slice ofdreep.Preset:
Key when applying a preset, and ID when
deleting one.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List every saved transform preset with client.ListPresets().
presets, err := client.ListPresets(ctx)
func (c *Client) ListPresets(ctx context.Context) ([]dreep.Preset, error)
dreep.Preset:
for _, p := range presets {
fmt.Println(p.Key, p.Name, p.Params)
}
Key when applying a preset, and ID when
deleting one.