optakt / flow-dps

Flow Data Provisioning Service
Apache License 2.0
29 stars 13 forks source link

Improve code structure, comments and self-descriptive conventions #388

Closed Ullaakut closed 3 years ago

Ullaakut commented 3 years ago

Description

This issue lists minor improvements that could be done if we agree on them.

Linter issues

rosetta/retriever/retriever.go:161:4: type assertion must be checked (forcetypeassert)
                        balance = result.ToGoValue().(uint64)
api/access/server.go:202:2: var `collId` should be `collID` (golint)
        collId := flow.HashToID(in.Id)

TODO

Add more elements to this issue as we find them. This is an ongoing work.