Skip to content

Instantly share code, notes, and snippets.

View squiidz's full-sized avatar

JChaput squiidz

  • Joliette
View GitHub Profile
@squiidz
squiidz / Fetch Lib Test
Created November 5, 2014 01:13
Learn Go
package main
import (
"io/ioutil"
"net/http"
)
type Fetcher interface {
GetName() string
Fetch() (*[]byte, error)
package main
import(
"io"
"errors"
"fmt"
)
type Rabbit struct {
s string
package main
import (
"fmt"
)
type Space interface {
Travel(int) int
Destroy()
GetName() string