We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// InitBucket // todo get data from db func InitBucket() (b map[string]Bucket, err error) { var ( item Bucket ) b = make(map[string]Bucket) // bucket test item.BucketName = "test" item.Property = 0 item.KeyId = "121bce6492eba701" item.KeySecret = "1eb80603e85842542f9736eb13b7e1" b["test"] = item
return
}
The text was updated successfully, but these errors were encountered:
对的,你可以自己硬编码写入,也可以自己从mysql加载,目前这块是留空的,之后会再更新一个版本,使用mysql存储。
Sorry, something went wrong.
No branches or pull requests
// InitBucket
// todo get data from db
func InitBucket() (b map[string]Bucket, err error) {
var (
item Bucket
)
b = make(map[string]Bucket)
// bucket test
item.BucketName = "test"
item.Property = 0
item.KeyId = "121bce6492eba701"
item.KeySecret = "1eb80603e85842542f9736eb13b7e1"
b["test"] = item
}
The text was updated successfully, but these errors were encountered: