summaryrefslogtreecommitdiff
path: root/generator
diff options
context:
space:
mode:
authorAaron Crickenberger <spiffxp@google.com>2019-04-20 21:27:18 -0700
committerAaron Crickenberger <spiffxp@google.com>2019-05-03 11:20:04 -0700
commitb91b05da2ebdc8e62549bd8009feb63ca7410dd7 (patch)
treeb650f78c2775c7bc65c2fe2aed32216d7e6b35db /generator
parent6ae2680bad21c536b9645dc89a21191419c9a82e (diff)
Upgrade to gopkg.in/yaml.v3
This gives us access to the yaml.Node type, which can be used to preserve more formatting than v2 supported during round tripping of YAML
Diffstat (limited to 'generator')
-rw-r--r--generator/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/app.go b/generator/app.go
index 295077b3..82b3799b 100644
--- a/generator/app.go
+++ b/generator/app.go
@@ -27,7 +27,7 @@ import (
"strings"
"text/template"
- "gopkg.in/yaml.v2"
+ yaml "gopkg.in/yaml.v3"
)
const (