initialize.go 235 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 package file_store type FileStore struct { } // Setup 配置数据库 func (e *FileStore) Setup(driver string) { //fileStoreType := driver //if fileStoreType == "ALiYunOSS" { // var store = new(ALiYunOSS) // store.Setup() //} }