database

package
v0.0.0-...-92ef796 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbStatus

type DbStatus int32
const (
	DbSuccess DbStatus = iota
	DbFailed
	DbNotFound
	DbExisted
)

type GormLogger

type GormLogger struct {
	Logger *logrus.Logger
}

GormLogger struct

func NewGormLogger

func NewGormLogger(logger *logrus.Logger) *GormLogger

func (*GormLogger) Print

func (g *GormLogger) Print(v ...interface{})

Print - Log Formatter

type INeo4JLogger

type INeo4JLogger interface {
	Print(summary neo4j.ResultSummary)
}

type Neo4JLogger

type Neo4JLogger struct {
	Logger *logrus.Logger
}

func NewNeo4JLogger

func NewNeo4JLogger(logger *logrus.Logger) *Neo4JLogger

func (*Neo4JLogger) Print

func (n *Neo4JLogger) Print(summary neo4j.ResultSummary)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL