Skip to content

Instantly share code, notes, and snippets.

View kofiasare's full-sized avatar
🎯
Focusing

Kofi Asare kofiasare

🎯
Focusing
View GitHub Profile
@kofiasare
kofiasare / makefile
Created October 6, 2018 17:25 — forked from sohlich/makefile
# Go parameters
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOTEST=$(GOCMD) test
GOGET=$(GOCMD) get
BINARY_NAME=mybinary
BINARY_UNIX=$(BINARY_NAME)_unix
@kofiasare
kofiasare / spec.go
Created December 29, 2016 11:46 — forked from karlseguin/spec.go
A simple test helper for Go. See http://openmymind.net/Testing-In-Go/
package tests
import (
"testing"
)
type S struct {
t *testing.T
}