Skip to content
Go package for communicating with the Aspose.Words Cloud API
Branch: master
Clone or download

Latest commit

Latest commit 570a439 Mar 31, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Save the state Dec 23, 2019
License Add readme and license Feb 28, 2020
v2003 Update Visual Code Mar 25, 2020
v2004 Fix tests Mar 30, 2020
.gitignore Remove config and fix gitignore Mar 24, 2020
Jenkinsfile Fix jenkins scripts Mar 23, 2020
JenkinsfileRelease Add release CI script Feb 27, 2020 Merge remote-tracking branch 'remotes/origin/master' into WORDSCLOUD-976 Mar 24, 2020
test.bat Set more time for tests Mar 25, 2020

Aspose.Words Cloud SDK for Go

This repository contains Aspose.Words Cloud SDK for Go source code. This SDK allows you to work with Aspose.Words Cloud REST APIs in your Go applications quickly and easily, with zero initial cost.

Aspose.Words Cloud
API Reference

Key Features

  • Conversion between various document-related formats (20+ formats supported), including PDF<->Word conversion
  • Mail merge and reports generation
  • Splitting Word documents
  • Accessing Word document metadata and statistics
  • Find and replace
  • Watermarks and protection
  • Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended). For more details, please visit our documentation website.


To use Aspose Words for Cloud .NET SDK you need :

  • have at least Go 1.13 installed.

  • have Go module support in your app.

  • to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.


Install Aspose.Words-Cloud

From Visual Stuio Code:

Add "" in the import section of your code

From the command line:

go get -v

Sample usage

The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Words-Cloud library:

Config.json file:

	"AppKey": "your app key",
	"AppSid": "your app sid",
	"BaseUrl": ""

Go code:

import (

// init words cloud api
config, _ := api.NewConfiguration("config.json")
wordsApi, ctx, _ := api.CreateWordsApi(config)

// upload test.docx to a cloud
// remote.docx is a name in the cloud
file, _ := os.Open("test.docx")
wordsApi.UploadFile(ctx, file, "remote.docx", nil)

// get a text for the first paragraph of the first section
result, _, _ := wordsApi.GetParagraphs(ctx, "remote.docx", "sections/0", nil)


Tests contain various examples of using the SDK. For other examples, check the product Developer Guide.


The libraray doesn't uses any non-Google Golang packages.


All Aspose.Words Cloud SDKs, helper scripts and templates are licensed under MIT License.

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.


Product Home
API Reference

Other languages

We generate our SDKs in different languages so you may check if yours is available in our list.

If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.

You can’t perform that action at this time.