examples

package
v0.0.0-...-f3dad25 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 11 Imported by: 0

README

Examples

Здесь хранятся различные примеры кода.

Вынес в отдельный пакет (а не как example_test.go) из-за периодичного запуска для получения конфигурации/токенов (используя gorram).

Например:

$ gorram github.com/seryiza/goshikimori/examples ExampleGetToken
$ gorram github.com/seryiza/goshikimori/examples PrintShikiGet "users/386084/info"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleGetConfig

func ExampleGetConfig()

func ExampleGetToken

func ExampleGetToken()

func ExampleShikimori

func ExampleShikimori()

ExampleShikimori creates and using Shikimori object

func ExampleShikimoriWithHelpers

func ExampleShikimoriWithHelpers()

ExampleShikimoriWithHelpers creates Shikimori using `helpers` package

func PrintShikiGet

func PrintShikiGet(method string)

PrintShikiGet print GET response from Shikimori

func SendMessage

func SendMessage(from, to, body string)

SendMessage to the Shikimori user

Types

This section is empty.

Jump to

Keyboard shortcuts

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