go-toml icon indicating copy to clipboard operation
go-toml copied to clipboard

Go library for the TOML file format

Results 39 go-toml issues
Sort by recently updated
recently updated
newest added

### To Reproduce ```go package main import ( "fmt" "github.com/pelletier/go-toml/v2" ) const testTOML = ` # notice the double brackets [[test]] answer = 42 ` func main() { var s...

bug

**Describe the bug** Hello. I see the current behavior of `omitempty` flag as a bit confusing because of a few factors: 1. It creates empty lines at the place records...

bug

**Describe the bug** Feature Request (or question if already possible): I'd like to be able to parse a struct w/ partial fields defined and have go-toml v2 Unmarshal into the...

feature

Follow up to #667. When SeenTracker finds a duplicate in the document structure it returns a simple `error` with no context. For example: ``` toml: key b is already defined...

feature

**Describe the bug** The error message for missing quotes is misleading. **To Reproduce** 1. put something like `timeout_broadcast_tx_commit = 20s` in a .toml file 2. start some utility that uses...

bug

This is a common type. Specializing it to reduce the use of reflection yields better performance. Similar to https://github.com/pelletier/go-toml/pull/669, there is a lot to explore there. The overall structure of...

performance

Taking a shot at specializing unmarshal code to work on concrete types instead of fully in reflect land. At the moment I experimented with `UnmarshalArray`, as it has simpler semantics...

performance

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3. Release notes Sourced from actions/setup-go's releases. Update actions/cache version to 3.0.0 In scope of this release we updated actions/cache package as the new version...

dependencies
github_actions

TinyGo uses uintptr for Len and Cap in reflect.*Header, unlike gc which uses int. This commit chooses the correct type using -tags. For unrelated reasons, compiling with TinyGo does not...

bug

Add experimental targets as part of the CI build. Those targets are not guaranteed to be supported, but generally nice to have.

build