From 7ec666d912cabd2d35b9c9ad2e00210cc8467004 Mon Sep 17 00:00:00 2001 From: travisturner Date: Thu, 12 Dec 2013 08:50:25 -0600 Subject: [PATCH] move cruncher out of core and into its own package --- {core => cruncher}/cruncher.go | 4 ++-- {core => cruncher}/cruncher_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename {core => cruncher}/cruncher.go (93%) rename {core => cruncher}/cruncher_test.go (97%) diff --git a/core/cruncher.go b/cruncher/cruncher.go similarity index 93% rename from core/cruncher.go rename to cruncher/cruncher.go index fceda00a9..ceef6a8ce 100644 --- a/core/cruncher.go +++ b/cruncher/cruncher.go @@ -1,4 +1,4 @@ -package core +package cruncher import ( "github.com/davecgh/go-spew/spew" @@ -7,7 +7,7 @@ import ( type Cruncher struct { - close_chan chan bool + close_chan chan bool } func (cruncher *Cruncher) Run(port int) { diff --git a/core/cruncher_test.go b/cruncher/cruncher_test.go similarity index 97% rename from core/cruncher_test.go rename to cruncher/cruncher_test.go index 9d0b42df3..b38ac3b6e 100644 --- a/core/cruncher_test.go +++ b/cruncher/cruncher_test.go @@ -1,4 +1,4 @@ -package core +package cruncher import ( "testing"