
๐Upload Content Attachment
Step 1: Set up the project
go mod init <module-name>Step 2: Install the "go-atlassian" library
go get -v github.com/ctreminiom/go-atlassianStep 3: Import the necessary packages
package main
import (
"github.com/ctreminiom/go-atlassian/confluence"
"log"
"os"
)Step 4: Authenticate with Confluence
Step 5: Upload an attachment to a Confluence page
Step 6: Run the program
Last updated
Was this helpful?