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
a446f41b
Commit
a446f41b
authored
Apr 13, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in error messages.
parent
a83fad3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
schema/gen/go/genStructReprMap.go
schema/gen/go/genStructReprMap.go
+1
-1
No files found.
schema/gen/go/genStructReprMap.go
View file @
a446f41b
...
...
@@ -309,7 +309,7 @@ func (g structReprMapReprBuilderGenerator) EmitNodeBuilderMethods(w io.Writer) {
// it's far too much duplicate code to make two MapBuilder types for that.)
doTemplate
(
`
func (nb *_{{ .Type | TypeSymbol }}__ReprBuilder) AssignNull() error {
return mixins.MapAssembler{"{{ .PkgName }}.{{ .TypeName }}"}.AssignNull()
return mixins.MapAssembler{"{{ .PkgName }}.{{ .TypeName }}
.Repr
"}.AssignNull()
}
func (nb *_{{ .Type | TypeSymbol }}__ReprBuilder) AssignNode(v ipld.Node) error {
if nb.state != maState_initial {
...
...
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