flex

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package flex holds setting types that accept what a connection form may store. providers.Field has no type, so a number such as a plan's monthly allowance can arrive as a JSON number or as a string; adapters decode it either way instead of failing to open.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int

type Int int64

Int is a whole number written as 10000, "10000" or "10,000"; null and "" are 0.

func (*Int) UnmarshalJSON

func (n *Int) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL