diff options
author | raylu <raylu@mixpanel.com> | 2011-08-07 23:16:48 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-08-07 23:16:48 -0700 |
commit | f6b3401e74d19b7f66d3edf3f84f667001972cea (patch) | |
tree | 35f3bb4025876a036105c7f09d89dfab30a03636 /db.go | |
parent | 602c45ac1086b4ace9e99edba4c9cfd1f142f016 (diff) | |
download | audioaxis-f6b3401e74d19b7f66d3edf3f84f667001972cea.tar.xz |
well that was silly; fix add and remove
Diffstat (limited to 'db.go')
-rw-r--r-- | db.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -68,3 +68,11 @@ func getpid(id string) int { } return pid } + +func execute(sql string) os.Error { + err := db.Query(sql) + if err != nil { + log.Println(err) + } + return err +} |