curl

package module
v0.0.0-...-55753cd Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	JSON_FORMAT = `{"Link":"%s","ImgUrl":"%s","Title":"%s","TagsCsvString":"%s","Description":"%s"}`
	CURL_FORMAT = `curl -X POST -H "Content-Type application/json; charset=utf-8" -d '%s' -u %s %s`
)
View Source
const (
	MAX_LENGTH = 140
)

Variables

View Source
var TAGS = []string{"art", "artist", "artwork", "bandedesinée", "cartoon", "comic", "comicart", "comics", "comix", "concept", "conceptart", "create", "creative", "dessin", "design", "draw", "drawing", "drawings", "fiction", "graphicnovel", "illustration", "image", "imagination", "inked", "inking", "manga", "painting", "sketch", "sketchbook", "sequentialart", "zeichnung", "挿絵", "絵", "イラスト", "일러스트", "일러스트레이션", "アート", "マンガ", "イラストレーション", "ドローイング", "スケッチ", "ilustração", "ilustració", "peinture"}

Functions

func Command

func Command(title, description, link, imgUrl, tags string) string

func GetArtTagsInRandomOrder

func GetArtTagsInRandomOrder() []string

func Json

func Json(title, description, link, imgUrl, tags string) string

Types

type Content

type Content struct {
	shared.Content
}

Jump to

Keyboard shortcuts

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