Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
3dcf5c3d
Commit
3dcf5c3d
authored
Jan 27, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
474d62e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
t/neo/protogen.go
t/neo/protogen.go
+0
-3
No files found.
t/neo/protogen.go
View file @
3dcf5c3d
...
@@ -956,15 +956,12 @@ func codegenType(path string, typ types.Type, obj types.Object, codegen CodeGene
...
@@ -956,15 +956,12 @@ func codegenType(path string, typ types.Type, obj types.Object, codegen CodeGene
case
*
types
.
Map
:
case
*
types
.
Map
:
codegen
.
genMap
(
path
,
u
,
obj
)
codegen
.
genMap
(
path
,
u
,
obj
)
default
:
default
:
log
.
Fatalf
(
"%v: %v has unsupported type %v (%v)"
,
pos
(
obj
),
log
.
Fatalf
(
"%v: %v has unsupported type %v (%v)"
,
pos
(
obj
),
obj
.
Name
(),
typ
,
u
)
obj
.
Name
(),
typ
,
u
)
}
}
}
}
// generate size/encode/decode functions for a type declaration typespec
// generate size/encode/decode functions for a type declaration typespec
func
generateCodecCode
(
typespec
*
ast
.
TypeSpec
,
codegen
CodeGenerator
)
string
{
func
generateCodecCode
(
typespec
*
ast
.
TypeSpec
,
codegen
CodeGenerator
)
string
{
// type & object which refers to this type
// type & object which refers to this 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