mirror of https://gitea.com/webb/teal
Fix again
This commit is contained in:
parent
e74a34516a
commit
7186231587
|
@ -41,13 +41,14 @@ func main() {
|
||||||
```
|
```
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"os"
|
||||||
"gitea.com/webb/teal"
|
"gitea.com/webb/teal"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
client := teal.Client{
|
client := teal.Client{
|
||||||
UserAgent: "teal"
|
UserAgent: "teal",
|
||||||
UploadKey: "key"
|
UploadKey: "key",
|
||||||
}
|
}
|
||||||
|
|
||||||
file, _ := os.Open("glenda.png")
|
file, _ := os.Open("glenda.png")
|
||||||
|
|
Loading…
Reference in New Issue