From f6b3401e74d19b7f66d3edf3f84f667001972cea Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 7 Aug 2011 23:16:48 -0700 Subject: well that was silly; fix add and remove --- db.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'db.go') diff --git a/db.go b/db.go index 8ded5ec..b980f45 100644 --- a/db.go +++ b/db.go @@ -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 +} -- cgit v1.2.3