Skip to content

Instantly share code, notes, and snippets.


William George Cook wgeorgecook

View GitHub Profile
wgeorgecook / main.go
Created Jul 2, 2020
Creates an HTTP server that listens on port :8000 for routes matching "/hello/{person}". If it matches the route, returns json {"hello": {person}}. If not, returns an error.
View main.go
package main
import (
class Equipment:
class Weapon(Equipment):
def __init__(self, damage):
self.damage = damage
class Armour(Equipment):
def __init__(self, defence):
self.defence = defence
# Facebook facing library
from fbchat import Client
from fbchat.models import *
from settings import FACEBOOK_SETTINGS
class facebookface(object):
You can’t perform that action at this time.