package tracker
import "github.com/pelletier/go-toml/v2/internal/tracker"
Index ¶
Types ¶
type Seen ¶
type Seen struct {
// contains filtered or unexported fields
}
Tracks which keys have been seen with which TOML type to flag duplicates and mismatches according to the spec.
func (*Seen) CheckExpression ¶
CheckExpression takes a top-level node and checks that it does not contain keys that have been seen in previous calls, and validates that types are consistent.
Source Files ¶
- Version
- v2.0.0-alpha.1
- Published
- Apr 15, 2021
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 12 hours ago –
Tools for package owners.