go-paste

command module
v0.0.0-...-9b7396e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2014 License: MIT Imports: 7 Imported by: 0

README

go-paste

A tool to upload text to pastebin. Fairly simple, and easy to use. Support for other paste services is planned for the future.

Installation

go get github.com/bearbin/go-paste

Examples

Put a file:

go-paste put example-file

Put from stdin:

go-paste put -

Put your data on fpaste, not pastebin:

go-paste -s fpaste put example-file

Get a paste:

go-paste get http://pastebin.com/ZTBUm4B2

Supported Paste Services

  • pastebin.com
  • fpaste.org

Development

go-paste is MIT licensed, and Pull Requests are welcome.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package fpaste wraps the basic functions of the fpaste.org API and exposes a Go API.
Package fpaste wraps the basic functions of the fpaste.org API and exposes a Go API.
Package pastebin wraps the basic functions of the Pastebin API and exposes a Go API.
Package pastebin wraps the basic functions of the Pastebin API and exposes a Go API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL