wanon

command module
v0.0.0-...-522903d Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

README

wanon

It's a bot for telegram in go to add and retrieve quotes.

Developer notes

  • Remember to run tests with:
    • From the project folder: go test ./...
    • From outside: go test github.com/graffic/wanon...
Mocks

For mocks this project uses testify/mock and mockery. Generated mocks are a PITA, or at least the way I like them:

mockery -dir telegram -name Request -inpkg -testonly

This creates:

  • A mock for the Request interface
  • Found in the telegram package
  • Creates a file in the package
  • appends a _test on it

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
manage
Package manage move quotes from one chat to another
Package manage move quotes from one chat to another

Jump to

Keyboard shortcuts

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