mulit

package
v0.0.0-...-f6b3594 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomKey

func RandomKey(i interface{}, keys []string) (string, error)

Types

type MulitDbSet

type MulitDbSet struct {
	DbMap      map[string]*sqlx.DB
	SelectFunc SelectFunc
	Keys       []string
}

func (*MulitDbSet) GetDb

func (db *MulitDbSet) GetDb(desc interface{}) (*sqlx.DB, error)

type SelectFunc

type SelectFunc func(i interface{}, keys []string) (string, error)

Jump to

Keyboard shortcuts

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