Skip to content

Instantly share code, notes, and snippets.

View justinpage's full-sized avatar

Justin Page justinpage

View GitHub Profile
package service
import (
"testing"
)
type preCheckMock struct {
userExistsMock func(email string) bool
}
package service
import (
"fmt"
"log"
"mocking/database"
)
type registerationPreChecker interface {
package service
import (
"testing"
)
type preCheckMock struct {
userExistsMock func(email string) bool
}
package service
import (
"fmt"
"log"
"mocking/database"
)
type registerationPreChecker interface {

00:00 Improvisation 64 - Flying Lotus 02:00 Improvisation 98 - Flying Lotus 04:00 Improvisation 31 - Flying Lotus 06:00 Improvisation 81 - Flying Lotus 07:00 Improvisation 44 - Flying Lotus 08:39 Glomerulonephropathy - Syunuke Ono 11:32 Say Goodbye - Hiroshi Sato 16:16 New York Times - Bobbi Humphrey 23:04 Miss Kane - Donald Byrd 29:22 River People - Weather Report

// Surface computes an SVG that renders a 3-D surface within the browser.
package main
import (
"errors"
"fmt"
"log"
"math"
"net/http"
"strconv"
<?php
$input = array(
"taco cat",
"madam",
"racecar",
"A man, a plan, a canal, Panama!",
"Palindrome",
"Was it a car or a cat I saw?",
"No 'x' in Nixon",
"Coding Horror",
package main
import (
"fmt"
"time"
)
func main() {
p := fmt.Println
package main
import (
"encoding/xml"
"fmt"
"os"
)
type Post struct {
XMLName xml.Name `xml:"post"`
# $PATH
export GOPATH=$HOME/Code/go
export PATH=/usr/local/bin:/usr/local/sbin:$PATH:$(go env GOPATH)/bin