Phil Salant d1d517a9b7 linters: enable scopelint (#3963)
* Pin range scope vars

* Don't disable scopelint

This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=scopelint

Contributes to #3262
2019-09-11 09:15:18 +04:00
..
2019-08-02 10:53:52 +04:00
2018-07-02 12:06:43 -04:00
2019-07-30 18:13:35 +04:00
2019-09-11 09:15:18 +04:00
2019-02-06 15:24:54 +04:00
2019-07-14 17:50:33 +04:00
2019-09-11 09:15:18 +04:00
2019-07-25 09:35:30 +04:00
2019-07-14 18:02:48 +04:00
2018-07-01 22:36:03 -04:00
2018-07-01 22:36:03 -04:00
2018-07-01 22:36:03 -04:00

TMLIBS

This repo is a home for various small packages.

autofile

Autofile is file access with automatic log rotation. A group of files is maintained and rotation happens when the leading file gets too big. Provides a reader for reading from the file group.

cli

CLI wraps the cobra and viper packages and handles some common elements of building a CLI like flags and env vars for the home directory and the logger.

clist

Clist provides a linked list that is safe for concurrent access by many readers.

common

Common provides a hodgepodge of useful functions.

db

DB provides a database interface and a number of implementions, including ones using an in-memory map, the filesystem directory structure, an implemention of LevelDB in Go, and the official LevelDB in C.

events

Events is a synchronous PubSub package.

flowrate

Flowrate is a fork of https://github.com/mxk/go-flowrate that added a SetREMA method.

log

Log is a log package structured around key-value pairs that allows logging level to be set differently for different keys.

merkle

Merkle provides a simple static merkle tree and corresponding proofs.

process

Process is a simple utility for spawning OS processes.

pubsub

PubSub is an asynchronous PubSub package.