GOPaste

GOPaste is a lightweight, rich and beautiful wrapper for JSPaste.

JSPaste allows you to upload, get and delete texts rapidly.
It’s also the lightest alternative to any JSPaste-compatible package. (it weighs only 1.8KB, and that is unpacked!)

Installation

go get github.com/Aidakkk/gopaste

import "github.com/Aidakkk/gopaste"

Usage

Publishing

gopaste.Publish("Hello world!")

Getting

gopaste.Get("key")

Checking if a text exists

gopaste.Exists("key")

Deleting

gopaste.Delete("key", "secret")

GitHub

View Github