diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-22 15:29:41 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-22 15:29:41 +0800 |
commit | 9af364e42b2fbbacf2febf9c43068ddb8a058b79 (patch) | |
tree | e4d9c168db84d707b81195ee66f703c6a14a89c6 /node/utils_test.go | |
parent | 09d44247f746b177e46754ba56ad7e9bc0bd8ef6 (diff) | |
download | go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.gz go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.bz2 go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.lz go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.xz go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.zst go-tangerine-9af364e42b2fbbacf2febf9c43068ddb8a058b79.zip |
node: all golint warnings fixed (#16773)
* node: all golint warnings fixed
* node: rm per peter
* node: rm per peter
Diffstat (limited to 'node/utils_test.go')
-rw-r--r-- | node/utils_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/utils_test.go b/node/utils_test.go index 8eddce3ed..9801b1ed4 100644 --- a/node/utils_test.go +++ b/node/utils_test.go @@ -121,12 +121,12 @@ func InstrumentedServiceMakerC(base ServiceConstructor) ServiceConstructor { return InstrumentingWrapperMaker(base, reflect.TypeOf(InstrumentedServiceC{})) } -// OneMethodApi is a single-method API handler to be returned by test services. -type OneMethodApi struct { +// OneMethodAPI is a single-method API handler to be returned by test services. +type OneMethodAPI struct { fun func() } -func (api *OneMethodApi) TheOneMethod() { +func (api *OneMethodAPI) TheOneMethod() { if api.fun != nil { api.fun() } |