quotable

command module
v1.2.1-0...-082eebd Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 1 Imported by: 0

README

Quotable

GitMoji Lines Of Code CodeQL

Screenshot

A golang wrapper around the Quotable.io API.

Installation

If you just want to use the CLI app:

go install github.com/UltiRequiem/quotable@latest

To be able to execute the command anywhere you need to have correctly setup your Gopath.

Example: Dotfiles

If you want to use it in code:

go get github.com/UltiRequiem/quotabler/pkg

Usage

CLI:

quotable

Code:

package main

import (
	"github.com/UltiRequiem/quotable/pkg"
	"fmt"
)

func main() {
	quote, _ := quotable.GetRandomQuoteAndAuthor()
	fmt.Println(quote)
}
Exports

This package exports 3 things:

License

This project is Licensed under the MIT License.

Alternatives

I also developed this in Node.js and Python.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package quotable exports Quotable Struct and FetchQuotabler Method
Package quotable exports Quotable Struct and FetchQuotabler Method

Jump to

Keyboard shortcuts

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