repositorypackage
0.0.0-20150525001219-132b780dc831
Repository: https://github.com/dlion/goimgur.git
Documentation: pkg.go.dev
# README
goImgur 
A simple library to upload an image on imgur
Install
go get github.com/dlion/goImgur
Usage
package main
import (
"fmt"
"log"
"github.com/dlion/goImgur"
)
func main() {
str, err := goImgur.Upload("pathToImage.png", "clientID")
if err != nil {
log.Panic(err)
}
fmt.Println(*str)
}
Prototype
Upload(string, string) (*string, error)
Author
- Domenico Luciani
- http://dlion.it
- [email protected]
License
MIT © Domenico Luciani