diff --git a/README.md b/README.md index 94af4ed..b4a6209 100644 --- a/README.md +++ b/README.md @@ -41,15 +41,16 @@ func main() { ``` import ( "fmt" + "os" "gitea.com/webb/teal" ) - + func main() { client := teal.Client{ - UserAgent: "teal" - UploadKey: "key" + UserAgent: "teal", + UploadKey: "key", } - + file, _ := os.Open("glenda.png") url, _ := client.UploadFile(file, "glenda.png") fmt.Println(url)