Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-ld-prime
Commits
4c6490ec
Commit
4c6490ec
authored
Oct 15, 2019
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move comments.
parent
4141100d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
schema/gen/go/gen.go
schema/gen/go/gen.go
+2
-4
No files found.
schema/gen/go/gen.go
View file @
4c6490ec
...
...
@@ -73,8 +73,8 @@ type nodebuilderGenerator interface {
EmitNodebuilderType
(
io
.
Writer
)
EmitNodebuilderConstructor
(
io
.
Writer
)
EmitNodebuilderMethodCreateMap
(
io
.
Writer
)
EmitNodebuilderMethodAmendMap
(
io
.
Writer
)
EmitNodebuilderMethodCreateMap
(
io
.
Writer
)
// also mapbuilder itself
EmitNodebuilderMethodAmendMap
(
io
.
Writer
)
// also listbuilder itself
EmitNodebuilderMethodCreateList
(
io
.
Writer
)
EmitNodebuilderMethodAmendList
(
io
.
Writer
)
EmitNodebuilderMethodCreateNull
(
io
.
Writer
)
...
...
@@ -84,8 +84,6 @@ type nodebuilderGenerator interface {
EmitNodebuilderMethodCreateString
(
io
.
Writer
)
EmitNodebuilderMethodCreateBytes
(
io
.
Writer
)
EmitNodebuilderMethodCreateLink
(
io
.
Writer
)
// TODO we'll soon also need all the child-nb-getters here too. // they're hucked in the CreateMap/CreateList methods for now.
}
func
emitFileHeader
(
w
io
.
Writer
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment