Add ability to delete shortcodes

parent 3630ac8d
......@@ -115,7 +115,12 @@ func main() {
err = db.Update(func(tx *bolt.Tx) error {
var err error
_, err = tx.CreateBucketIfNotExists(urlBucketName)
urlBucket, err := tx.CreateBucketIfNotExists(urlBucketName)
if err != nil {
return err
}
err = urlBucket.Delete([]byte("/RToXsy"))
if err != nil {
return err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment