cheatsh

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheatSh

type CheatSh struct {
}

CheatSh implements radium.Source interface using cheat.sh as the source

func New

func New() *CheatSh

New initializes a radium.Source implementation using http://cheat.sh as the source

func (CheatSh) Search

func (csh CheatSh) Search(ctx context.Context, query radium.Query) ([]radium.Article, error)

Search performs an HTTP request to http://cheat.sh to find results matching the given query.

Jump to

Keyboard shortcuts

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