func (o Options) DaoPkgName() string {
	return packageName(o.DaoRootDir)
}
DaoPkgName result dao package name.
package goma
import (
	"encoding/json"
	"fmt"
	"io/ioutil"
	"path/filepath"
	"reflect"
	"strings"
)
type Options struct {
	Driver   string `json:"driver"`    
	UserName string `json:"user"`      
	PassWord string `json:"password"`  
	Host     string `json:"host"`      
	Port     int    `json:"port"`      
	DBName   string `json:"db"`        
	Location string `json:"location"`  
	SSLMode string `json:"ssl"`  
	IsConfig      bool   `json:"isConfig"`       
	Debug         bool   `json:"debug"`          
	SQLRootDir    string `json:"sqlRootDir"`     
	DaoRootDir    string `json:"daoRootDir"`     
	EntityRootDir string `json:"entityRootDir"`  
	CurrentDir    string `json:"currentDir"`     
}
func (o Options) SQLRootDirPath() string {
	return filepath.Join(o.CurrentDir, o.SQLRootDir)
}
func (o Options) DaoImportPath() string {
	return importPath(o.CurrentDir, o.DaoPkgName())
}
func (o Options) EntityImportPath() string {
	return importPath(o.CurrentDir, o.EntityPkgName())
}