Comments (2)
Hi @delgyd,
You should be able to use the library directly, without running make.
It seems that the linter doesn't recognize our test helpers correctly.
I will have a look at it later.
Linked log:
golangci-lint run --verbose ./...
INFO [config_reader] Config search paths: [./ /root/go-orbit-db /root /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 12 linters: [deadcode errcheck goconst gofmt golint ineffassign misspell staticcheck structcheck unconvert unused varcheck]
INFO [lintersdb] Active 12 linters: [deadcode errcheck goconst gofmt golint ineffassign misspell staticcheck structcheck unconvert unused varcheck]
INFO [loader] Go packages loading at mode 575 (deps|exports_file|types_sizes|compiled_files|files|imports|name) took 529.08514ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 4.482628ms
INFO [runner/unused/goanalysis] analyzers took 0s with no stages
INFO [runner/goanalysis_metalinter/goanalysis] analyzers took 0s with no stages
INFO [runner] Issues before processing: 135, after processing: 5
INFO [runner] Processors filtering stat (out/in): path_prettifier: 135/135, skip_dirs: 135/135, diff: 5/5, max_per_file_from_linter: 5/5, exclude: 9/135, max_same_issue s: 5/5, source_code: 5/5, cgo: 135/135, filename_unadjuster: 135/135, autogenerated_exclude: 135/135, identifier_marker: 135/135, skip_files: 135/135, exclude-rules: 9/ 9, nolint: 9/9, uniq_by_line: 5/9, max_from_linter: 5/5, path_shortener: 5/5
INFO [runner] processing took 12.601258ms with stages: exclude: 7.144452ms, identifier_marker: 3.712936ms, path_prettifier: 662.071µs, autogenerated_exclude: 655.364µs, skip_dirs: 188.765µs, nolint: 130.189µs, cgo: 38.901µs, skip_files: 26.197µs, source_code: 25.826µs, filename_unadjuster: 5.618µs, max_same_issues: 3.909µs, uniq_by_li ne: 2.376µs, path_shortener: 1.746µs, max_from_linter: 1.47µs, max_per_file_from_linter: 875ns, exclude-rules: 290ns, diff: 273ns
INFO [runner] linters took 178.604529ms with stages: unused: 149.670868ms, goanalysis_metalinter: 16.247173ms
tests/testing.go:29:6: func `testingIPFSNode` is unused (unused)
func testingIPFSNode(ctx context.Context, t *testing.T, m mocknet.Mocknet) (*ipfsCore.IpfsNode, cleanFunc) {
^
tests/testing.go:64:6: func `testingTempDir` is unused (unused)
func testingTempDir(t *testing.T, name string) (string, cleanFunc) {
^
tests/testing.go:49:6: func `testingCoreAPI` is unused (unused)
func testingCoreAPI(t *testing.T, core *ipfsCore.IpfsNode) (api iface.CoreAPI) {
^
tests/testing.go:24:6: type `cleanFunc` is unused (unused)
type cleanFunc func()
^
tests/testing.go:60:6: func `testingMockNet` is unused (unused)
func testingMockNet(ctx context.Context) mocknet.Mocknet {
^
INFO File cache stats: 1 entries of total size 1.5KiB
INFO Memory: 9 samples, avg is 68.9MB, max is 68.9MB
INFO Execution took 718.308637ms
make: *** [lint] Error 1
from go-orbit-db.
Can you tell which version of golangci-lint
you are using?
from go-orbit-db.
Related Issues (20)
- v1.14.1 -> v1.16.0, no more *stores.EventReady event? HOT 3
- Database not syncing anymore since bump to IPFS 12.2 HOT 5
- oneonone/channel.go:74","msg":"unable to connect to remote peer" HOT 4
- why not exchange remote head HOT 5
- Implement HTTP API (or grpc) HOT 2
- Upgrade kubo HOT 4
- orbitdb vs go-ds-crdt HOT 2
- Test TestReplicateAutomatically fails randomly HOT 1
- Nodes do not receive data HOT 3
- some question about replication, delete data entity, and access over intertnet HOT 2
- CI keeps failing (timeout) HOT 2
- Inconsistent failing test(s) HOT 1
- Test failed when run all tests repeatedly HOT 2
- Missing mutex unlock in channelHolder.incomingConnHandler() HOT 1
- [Feature Request] Add `Pin` option for Store operations HOT 2
- help HOT 1
- Open blocks/hangs HOT 2
- Local database not persisted HOT 1
- go get error HOT 5
- Using orbit and pubsub in the same run causes race conditions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-orbit-db.