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
605efe83
Commit
605efe83
authored
Jul 14, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing Spawn{kind} methods.
parent
34aa6fa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
schema/tmpBuilders.go
schema/tmpBuilders.go
+8
-0
No files found.
schema/tmpBuilders.go
View file @
605efe83
...
...
@@ -30,10 +30,18 @@ func SpawnString(name TypeName) *TypeString {
return
&
TypeString
{
typeBase
{
name
,
nil
}}
}
func
SpawnBool
(
name
TypeName
)
*
TypeBool
{
return
&
TypeBool
{
typeBase
{
name
,
nil
}}
}
func
SpawnInt
(
name
TypeName
)
*
TypeInt
{
return
&
TypeInt
{
typeBase
{
name
,
nil
}}
}
func
SpawnFloat
(
name
TypeName
)
*
TypeFloat
{
return
&
TypeFloat
{
typeBase
{
name
,
nil
}}
}
func
SpawnBytes
(
name
TypeName
)
*
TypeBytes
{
return
&
TypeBytes
{
typeBase
{
name
,
nil
}}
}
...
...
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