Skip to content

Commit

Permalink
Minor fixes and package description strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy Oudompheng committed Feb 24, 2012
1 parent cb17983 commit 941b9cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
14 changes: 0 additions & 14 deletions Makefile

This file was deleted.

3 changes: 2 additions & 1 deletion aurjson/aur.go → aur.go
@@ -1,3 +1,4 @@
// Package aur implements a client for the AUR JSON API.
package aur

import (
Expand Down Expand Up @@ -64,7 +65,7 @@ func genericQuery(querytype, arg string, target interface{}) error {
return er
}

buf := bytes.NewBuffer(nil)
buf := new(bytes.Buffer)
_, er = io.CopyN(buf, resp.Body, 1e6)
if er != nil && er != io.EOF {
return er
Expand Down
3 changes: 2 additions & 1 deletion main.go → aurgo/main.go
@@ -1,7 +1,8 @@
// aurgo is a small AUR standalone client.
package main

import (
aurjson "github.com/remyoudompheng/go-aurjson/aurjson"
aurjson "github.com/remyoudompheng/go-aurjson"
"flag"
"fmt"
"os"
Expand Down
8 changes: 0 additions & 8 deletions aurjson/Makefile

This file was deleted.

0 comments on commit 941b9cd

Please sign in to comment.