piotrkowalczuk/mnemosyne

View on GitHub

Showing 37 of 37 total issues

exported function TestStorageList should have comment or be unexported
Open

func TestStorageList(t *testing.T, s Storage) {

exported function TestStorageListBetween should have comment or be unexported
Open

func TestStorageListBetween(t *testing.T, s Storage) {

exported function IsInternalRequest should have comment or be unexported
Open

func IsInternalRequest(ctx context.Context) bool {
Severity: Minor
Found in internal/cluster/cluster.go by golint

exported const Subsystem should have comment or be unexported
Open

const Subsystem = "mnemosyned"
Severity: Minor
Found in internal/constant/const.go by golint

exported type Storage should have comment or be unexported
Open

type Storage struct {
Severity: Minor
Found in internal/storage/postgres/storage.go by golint

exported method Cache.Del should have comment or be unexported
Open

func (c *Cache) Del(k uint64) {
Severity: Minor
Found in internal/cache/cache.go by golint

exported var Timeout should have comment or be unexported
Open

var Timeout = errors.New("postgres connection timeout")

exported function Init should have comment or be unexported
Open

func Init(s Storage, isTest bool) (Storage, error) {
Severity: Minor
Found in internal/storage/storage.go by golint

exported function TestStorageSetValue should have comment or be unexported
Open

func TestStorageSetValue(t *testing.T, s Storage) {

exported type Encoder should have comment or be unexported
Open

type Encoder struct {
Severity: Minor
Found in internal/service/logger/logger.go by golint

exported method Encoder.EncodeEntry should have comment or be unexported
Open

func (e *Encoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) {
Severity: Minor
Found in internal/service/logger/logger.go by golint

exported type Context should have comment or be unexported
Open

type Context struct {
Severity: Minor
Found in internal/service/logger/logger.go by golint

exported type Opts should have comment or be unexported
Open

type Opts struct {

2: cannot find package "github.com/piotrkowalczuk/mnemosyne/internal/storage" in any of:
Open

    "github.com/piotrkowalczuk/mnemosyne/internal/storage"
Severity: Minor
Found in cmd/mnemosyned/config.go by govet

exported type Cache should have comment or be unexported
Open

type Cache struct {
Severity: Minor
Found in internal/cache/cache.go by golint

exported method Encoder.Clone should have comment or be unexported
Open

func (e *Encoder) Clone() zapcore.Encoder {
Severity: Minor
Found in internal/service/logger/logger.go by golint

exported type Opts should have comment or be unexported
Open

type Opts struct {
Severity: Minor
Found in internal/service/logger/logger.go by golint
Severity
Category
Status
Source
Language