Skip to content

dlion/goImgur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goImgur Build Status

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

License

MIT © Domenico Luciani

About

A simple library to upload an image on imgur

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages