Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
5eccc122
Commit
5eccc122
authored
Jan 09, 2017
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build, node: fix go vet nits
parent
6cb39dd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
update-license.go
build/update-license.go
+1
-1
node_example_test.go
node/node_example_test.go
+1
-1
No files found.
build/update-license.go
View file @
5eccc122
...
@@ -185,7 +185,7 @@ func getFiles() []string {
...
@@ -185,7 +185,7 @@ func getFiles() []string {
files
=
append
(
files
,
line
)
files
=
append
(
files
,
line
)
})
})
if
err
!=
nil
{
if
err
!=
nil
{
log
.
Fatal
f
(
"error getting files:"
,
err
)
log
.
Fatal
(
"error getting files:"
,
err
)
}
}
return
files
return
files
}
}
...
...
node/node_example_test.go
View file @
5eccc122
...
@@ -41,7 +41,7 @@ func (s *SampleService) APIs() []rpc.API { return nil }
...
@@ -41,7 +41,7 @@ func (s *SampleService) APIs() []rpc.API { return nil }
func
(
s
*
SampleService
)
Start
(
*
p2p
.
Server
)
error
{
fmt
.
Println
(
"Service starting..."
);
return
nil
}
func
(
s
*
SampleService
)
Start
(
*
p2p
.
Server
)
error
{
fmt
.
Println
(
"Service starting..."
);
return
nil
}
func
(
s
*
SampleService
)
Stop
()
error
{
fmt
.
Println
(
"Service stopping..."
);
return
nil
}
func
(
s
*
SampleService
)
Stop
()
error
{
fmt
.
Println
(
"Service stopping..."
);
return
nil
}
func
Example
Usag
e
()
{
func
Example
Servic
e
()
{
// Create a network node to run protocols with the default values. The below list
// Create a network node to run protocols with the default values. The below list
// is only used to display each of the configuration options. All of these could
// is only used to display each of the configuration options. All of these could
// have been omitted if the default behavior is desired.
// have been omitted if the default behavior is desired.
...
...
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