This is an unofficial Yandex.Disk API in Go.
I only implemented what I needed.
Add it to your project:
import (
yadisk "github.com/MOZGIII/yadisk-api"
)
And then just use it:
api := yadisk.NewAPI(oAuthToken)
err := api.Upload(reader, "app:/test.txt", true)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request