good morning!!!!

Skip to content
Snippets Groups Projects
Commit 5eccc122 authored by Felix Lange's avatar Felix Lange
Browse files

build, node: fix go vet nits

parent 6cb39dd3
No related branches found
No related tags found
No related merge requests found
...@@ -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.Fatalf("error getting files:", err) log.Fatal("error getting files:", err)
} }
return files return files
} }
......
...@@ -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 ExampleUsage() { func ExampleService() {
// 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment