Skip to content

This is my first step into writing Go. This is a clone of https://yesno.wtf in which I proxy their api for the actual data.

Notifications You must be signed in to change notification settings

dpromanko/yesno-wtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yesno-wtf

This is my first step into writing Go. This is a clone of https://yesno.wtf in which I proxy their api for the actual data.

Run in Docker

Run:

docker-compose up --build -d

Build and Run with Go installed on your machine

Build and install:

$ go install github.com/dpromanko/yesno-wtf

Run:

$ $GOPATH/bin/yesno-wtf

Get the answers to all your problems...as long as the answer is yes or no

For the usual https://yesno.wtf experience navigate to:

localhost:8080/

For the api navigate to:

localhost:8080/api

If the api isn't pretty enough for you:

localhost:8080/api?output=prettyjson

About

This is my first step into writing Go. This is a clone of https://yesno.wtf in which I proxy their api for the actual data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published