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
e53a5474
Commit
e53a5474
authored
Oct 20, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'codegen-typofixes'
parents
6428f6bb
329252db
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
schema/gen/go/genBool.go
schema/gen/go/genBool.go
+2
-2
schema/gen/go/genBytes.go
schema/gen/go/genBytes.go
+2
-2
schema/gen/go/genFloat.go
schema/gen/go/genFloat.go
+2
-2
schema/gen/go/genLink.go
schema/gen/go/genLink.go
+2
-2
No files found.
schema/gen/go/genBool.go
View file @
e53a5474
...
...
@@ -40,7 +40,7 @@ func (g boolGenerator) EmitTypeConst(w io.Writer) {
`
,
w
,
g
.
AdjCfg
,
g
)
}
// --- TypedNode
bool
erface satisfaction --->
// --- TypedNode
int
erface satisfaction --->
func
(
g
boolGenerator
)
EmitTypedNodeMethodType
(
w
io
.
Writer
)
{
doTemplate
(
`
...
...
@@ -54,7 +54,7 @@ func (g boolGenerator) EmitTypedNodeMethodRepresentation(w io.Writer) {
emitTypicalTypedNodeMethodRepresentation
(
w
,
g
.
AdjCfg
,
g
)
}
// --- Node
bool
erface satisfaction --->
// --- Node
int
erface satisfaction --->
func
(
g
boolGenerator
)
EmitNodeType
(
w
io
.
Writer
)
{
// No additional types needed. Methods all attach to the native type.
...
...
schema/gen/go/genBytes.go
View file @
e53a5474
...
...
@@ -40,7 +40,7 @@ func (g bytesGenerator) EmitTypeConst(w io.Writer) {
`
,
w
,
g
.
AdjCfg
,
g
)
}
// --- TypedNode
bytes
erface satisfaction --->
// --- TypedNode
int
erface satisfaction --->
func
(
g
bytesGenerator
)
EmitTypedNodeMethodType
(
w
io
.
Writer
)
{
doTemplate
(
`
...
...
@@ -54,7 +54,7 @@ func (g bytesGenerator) EmitTypedNodeMethodRepresentation(w io.Writer) {
emitTypicalTypedNodeMethodRepresentation
(
w
,
g
.
AdjCfg
,
g
)
}
// --- Node
bytes
erface satisfaction --->
// --- Node
int
erface satisfaction --->
func
(
g
bytesGenerator
)
EmitNodeType
(
w
io
.
Writer
)
{
// No additional types needed. Methods all attach to the native type.
...
...
schema/gen/go/genFloat.go
View file @
e53a5474
...
...
@@ -40,7 +40,7 @@ func (g float64Generator) EmitTypeConst(w io.Writer) {
`
,
w
,
g
.
AdjCfg
,
g
)
}
// --- TypedNode
float64
erface satisfaction --->
// --- TypedNode
int
erface satisfaction --->
func
(
g
float64Generator
)
EmitTypedNodeMethodType
(
w
io
.
Writer
)
{
doTemplate
(
`
...
...
@@ -54,7 +54,7 @@ func (g float64Generator) EmitTypedNodeMethodRepresentation(w io.Writer) {
emitTypicalTypedNodeMethodRepresentation
(
w
,
g
.
AdjCfg
,
g
)
}
// --- Node
float64
erface satisfaction --->
// --- Node
int
erface satisfaction --->
func
(
g
float64Generator
)
EmitNodeType
(
w
io
.
Writer
)
{
// No additional types needed. Methods all attach to the native type.
...
...
schema/gen/go/genLink.go
View file @
e53a5474
...
...
@@ -40,7 +40,7 @@ func (g linkGenerator) EmitTypeConst(w io.Writer) {
`
,
w
,
g
.
AdjCfg
,
g
)
}
// --- TypedNode
l
in
k
erface satisfaction --->
// --- TypedNode in
t
erface satisfaction --->
func
(
g
linkGenerator
)
EmitTypedNodeMethodType
(
w
io
.
Writer
)
{
doTemplate
(
`
...
...
@@ -63,7 +63,7 @@ func (g linkGenerator) EmitTypedNodeMethodRepresentation(w io.Writer) {
emitTypicalTypedNodeMethodRepresentation
(
w
,
g
.
AdjCfg
,
g
)
}
// --- Node
l
in
k
erface satisfaction --->
// --- Node in
t
erface satisfaction --->
func
(
g
linkGenerator
)
EmitNodeType
(
w
io
.
Writer
)
{
// No additional types needed. Methods all attach to the native type.
...
...
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