-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.golintignore
45 lines (45 loc) · 5.14 KB
/
.golintignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
./association/association.go:78:6: type name will be used as association.AssociationArray by other packages, and that stutters; consider calling this Array
./blob/blob.go:132:6: type name will be used as blob.BlobArray by other packages, and that stutters; consider calling this Array
./blob/store/structured/mongo/mongo.go:437:1: receiver name c should be consistent with previous receiver name b for BlobRepository
./data/client/client.go:40:6: type name will be used as client.ClientImpl by other packages, and that stutters; consider calling this Impl
./data/data_set.go:24:6: type name will be used as data.DataSetAccessor by other packages, and that stutters; consider calling this SetAccessor
./data/data_set.go:52:6: func name will be used as data.DataSetTypes by other packages, and that stutters; consider calling this SetTypes
./data/data_set.go:59:6: func name will be used as data.DataSetStates by other packages, and that stutters; consider calling this SetStates
./data/data_set.go:85:6: type name will be used as data.DataSetClient by other packages, and that stutters; consider calling this SetClient
./data/data_set.go:112:6: type name will be used as data.DataSetFilter by other packages, and that stutters; consider calling this SetFilter
./data/data_set.go:147:6: type name will be used as data.DataSetCreate by other packages, and that stutters; consider calling this SetCreate
./data/data_set.go:219:6: type name will be used as data.DataSetUpdate by other packages, and that stutters; consider calling this SetUpdate
./data/data_set.go:287:6: type name will be used as data.DataSet by other packages, and that stutters; consider calling this Set
./data/data_set.go:328:6: type name will be used as data.DataSets by other packages, and that stutters; consider calling this Sets
./data/source/source.go:253:6: type name will be used as source.SourceArray by other packages, and that stutters; consider calling this Array
./data/types/device/alarm/alarm.go:25:6: func name will be used as alarm.AlarmTypes by other packages, and that stutters; consider calling this Types
./data/types/upload/test/upload.go:33:1: comment on exported type LegacyUpload should be of the form "LegacyUpload ..." (with optional leading article)
./errors/errors.go:401:10: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)
./image/image.go:526:6: type name will be used as image.ImageArray by other packages, and that stutters; consider calling this Array
./metadata/metadata.go:65:6: type name will be used as metadata.MetadataArray by other packages, and that stutters; consider calling this Array
./migrations/back-1572/back-1572.go:203:37: method parameter objectId should be objectID
./migrations/back-1572/back-1572.go:230:9: if block ends with a return statement, so drop this else and outdent its block
./request/mutator.go:9:6: type name will be used as request.RequestMutator by other packages, and that stutters; consider calling this Mutator
./service/response_test.go:27:30: method WriteJson should be WriteJSON
./service/response_test.go:31:30: method EncodeJson should be EncodeJSON
./task/task.go:22:6: type name will be used as task.TaskAccessor by other packages, and that stutters; consider calling this Accessor
./task/task.go:37:6: func name will be used as task.TaskStates by other packages, and that stutters; consider calling this States
./task/task.go:46:6: type name will be used as task.TaskFilter by other packages, and that stutters; consider calling this Filter
./task/task.go:82:6: type name will be used as task.TaskCreate by other packages, and that stutters; consider calling this Create
./task/task.go:120:6: type name will be used as task.TaskUpdate by other packages, and that stutters; consider calling this Update
./task/task.go:329:5: error var AlreadyClaimedTask should have name of the form ErrFoo
./task/task.go:329:37: error strings should not be capitalized or end with punctuation or a newline
./test/rest/response_writer.go:9:6: type EncodeJsonOutput should be EncodeJSONOutput
./test/rest/response_writer.go:30:2: struct field WriteJsonInvocations should be WriteJSONInvocations
./test/rest/response_writer.go:31:2: struct field WriteJsonInputs should be WriteJSONInputs
./test/rest/response_writer.go:32:2: struct field WriteJsonStub should be WriteJSONStub
./test/rest/response_writer.go:33:2: struct field WriteJsonOutputs should be WriteJSONOutputs
./test/rest/response_writer.go:34:2: struct field WriteJsonOutput should be WriteJSONOutput
./test/rest/response_writer.go:35:2: struct field EncodeJsonInvocations should be EncodeJSONInvocations
./test/rest/response_writer.go:36:2: struct field EncodeJsonInputs should be EncodeJSONInputs
./test/rest/response_writer.go:37:2: struct field EncodeJsonStub should be EncodeJSONStub
./test/rest/response_writer.go:38:2: struct field EncodeJsonOutputs should be EncodeJSONOutputs
./test/rest/response_writer.go:39:2: struct field EncodeJsonOutput should be EncodeJSONOutput
./test/rest/response_writer.go:80:26: method WriteJson should be WriteJSON
./test/rest/response_writer.go:97:26: method EncodeJson should be EncodeJSON
./user/user.go:81:6: type name will be used as user.UserArray by other packages, and that stutters; consider calling this Array