Introduction

The Files.com Go SDK lets Go applications manage files, folders, users, automations, and other API resources. Resource clients accept configuration and request options and use standard Go error handling.

Installation

If your project does not already have a go.mod file, create a module. Replace example.com/myapp with your module path. Then add the SDK dependency:

go mod init example.com/myapp
go get github.com/Files-com/files-sdk-go/v3

Import the SDK models and the resource clients you need:

import (
    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

The examples show imports followed by code to place inside a function, such as main. Use go build to compile your application after adding the SDK dependency.

Files.com is Committed to Go

Files.com uses Go for internal development. The Go SDK also supports the Files.com CLI, desktop application, Terraform provider, and Rclone integration.

Getting Support

The Files.com Support team provides official support for all of our official Files.com integration tools.

To initiate a support conversation, you can send an Authenticated Support Request or simply send an E-Mail to support@files.com.