391 B
391 B
package main
import ( "fmt" "github.com/appwrite/sdk-for-go" )
func main() { var client := appwrite.Client{}
client.SetProject("")
client.SetKey("")
var service := appwrite.Database{
client: &client
}
var response, error := service.DeleteCollection("[COLLECTION_ID]")
if error != nil {
panic(error)
}
fmt.Println(response)
}