util

package
v0.0.0-...-1815555 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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 Config

type Config struct {
	AppName  string `yaml:"AppName"`
	Server   string `yaml:"Server"`
	User     string `yaml:"User"`
	Password string `yaml:"Password"`
	Database string `yaml:"Database"`
	Typ      string `yaml:"Type"`
}

Config the configuration for mssql server

func ReadYAML

func ReadYAML(path string) (*Config, error)

func (Config) ODBCFormat

func (conf Config) ODBCFormat() string

ODBCFormat the configuration with old odbc require import _ "github.com/alexbrainman/odbc"

Jump to

Keyboard shortcuts

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