diff options
author | Felix Lange <fjl@twurst.com> | 2017-01-09 16:52:26 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-01-09 23:12:54 +0800 |
commit | 5eccc122e8838ae8cdd3570716727a6b1b93d4a2 (patch) | |
tree | 8b4508624c0e9c6050b3162a8cfa3ccd727fa3bf /node | |
parent | 6cb39dd3da6ac5923d15b54b135ae7f85385c694 (diff) | |
download | go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar.gz go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar.bz2 go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar.lz go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar.xz go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.tar.zst go-tangerine-5eccc122e8838ae8cdd3570716727a6b1b93d4a2.zip |
build, node: fix go vet nits
Diffstat (limited to 'node')
-rw-r--r-- | node/node_example_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/node_example_test.go b/node/node_example_test.go index 7c586452f..d2872cf38 100644 --- a/node/node_example_test.go +++ b/node/node_example_test.go @@ -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) 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 // is only used to display each of the configuration options. All of these could // have been omitted if the default behavior is desired. |