Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

sugarshin/conn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conn

The wrapper for confluence-go-api

Installation

go get github.com/sugarshin/conn

Usage

package main

import (
	"log"
	conn "github.com/sugarshin/conn"
)

func main() {
	client, err := conn.New("<confluence_endpoint>", "<confluence_username>", "<confluence_token_or_password>")
	if err != nil {
		log.Fatal("failed")
	}
	c, err := client.CreateChildPageContent(parentPageID, content)
}

CreateChildPageContentWithLatest

CreateChildPageContentWith

CreateChildPageContent

GetLatestChildPageContent

GetChildPageContentByID

GetChildPageContentWith

Besides these, all confluence-go-api functions are available. ref: https://pkg.go.dev/github.com/virtomize/confluence-go-api#pkg-functions

About

The wrapper for confluence-go-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages