File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 88 "time"
99)
1010
11- func initConf () * postgresqlStore {
11+ func initConf () * PostgresqlStore {
1212 conf := & store.Config {
1313 Name : "Postgresql" ,
1414 Option : map [string ]interface {}{
@@ -40,7 +40,7 @@ func initConf() *postgresqlStore {
4040 },*/
4141 },
4242 }
43- obj := & postgresqlStore {}
43+ obj := & PostgresqlStore {}
4444 err := obj .Initialize (conf )
4545 fmt .Println (err )
4646
Original file line number Diff line number Diff line change @@ -404,12 +404,12 @@ store:
404404 name : postgresql
405405 option :
406406 master :
407- dbType : postgresql
408- dbName : polaris_server
409- dbUser : root # #DB_USER##
410- dbPwd : polaris # #DB_PWD##
411- dbAddr : " 127.0.0.1 " # #DB_ADDR##
412- dbPort : 5432
407+ dbType : " postgres "
408+ dbName : " polaris_server"
409+ dbUser : " postgres " # #DB_USER##
410+ dbPwd : " aaaaaa " # #DB_PWD##
411+ dbAddr : " 192.168.31.19 " # #DB_ADDR##
412+ dbPort : " 5432"
413413 maxOpenConns : -1
414414 maxIdleConns : -1
415415 connMaxLifetime : 300 # 单位秒
You can’t perform that action at this time.
0 commit comments