Use Files.com with Go
Connect to Files.com from the Go Programming Language
The Files.com SDK for Golang provides convenient access to all Files.com features applications written in the Go language.
You can access the latest SDK on Github.
Installation
Make sure your project is using Go Modules (it will have a go.mod
file in its root if it already is):
go mod init
Then, reference files-sdk-go in a Go program with import
:
import (
"github.com/Files-com/files-sdk-go"
"github.com/Files-com/files-sdk-go/folder"
)
Run any of the normal go
commands (build
/install
/test
). The Go toolchain will resolve and fetch the files module automatically.