1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package config
|
| type Oracle struct {
| GeneralDB `yaml:",inline" mapstructure:",squash"`
| }
|
| func (m *Oracle) Dsn() string {
| return "oracle://" + m.Username + ":" + m.Password + "@" + m.Path + ":" + m.Port + "/" + m.Dbname + "?" + m.Config
|
| }
|
| func (m *Oracle) GetLogMode() string {
| return m.LogMode
| }
|
|