From 8957a768ef5185b0a0e9dd853bcbc2821e9d1aaf Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Thu, 18 Mar 2021 19:52:11 -0400 Subject: [PATCH] Next stop: pointers --- README.md | 9 ++++++--- internal/imported_tests/unmarshal_imported_test.go | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e1ebf59..5b8ed22 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,17 @@ Development branch. Probably does not work. ## Must do - [x] Unmarshal into maps. -- [ ] Attach comments to AST (gated by parser flag). -- [ ] Abstract AST. -- [ ] Support Array Tables +- [x] Support Array Tables. +- [ ] Unmarshal into pointers. - [ ] Support Date / times. - [ ] Support Unmarshaler interface. - [ ] Support struct tags annotations. - [ ] Original go-toml unmarshal tests pass. - [ ] Benchmark! +- [ ] Abstract AST. +- [ ] Attach comments to AST (gated by parser flag). +- [ ] Track file position (line, column) for errors. +- [ ] Benchmark again! ## Further work diff --git a/internal/imported_tests/unmarshal_imported_test.go b/internal/imported_tests/unmarshal_imported_test.go index ee81773..d604cfe 100644 --- a/internal/imported_tests/unmarshal_imported_test.go +++ b/internal/imported_tests/unmarshal_imported_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - toml "github.com/pelletier/go-toml/v2/internal/unmarshaler" + "github.com/pelletier/go-toml/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )