From ea0b8e933ce59ca3071e739cf77614d7a8f4728a Mon Sep 17 00:00:00 2001 From: lmika Date: Sat, 3 Jan 2015 10:37:15 +1100 Subject: [PATCH] Rearranged the source files and removed the makefile. To build run: go build ./... --- src/grid.go => grid.go | 0 src/main.go => main.go | 0 src/makefile => makefile | 0 src/model.go => model.go | 6 +++--- src/ui.go => ui.go | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename src/grid.go => grid.go (100%) rename src/main.go => main.go (100%) rename src/makefile => makefile (100%) rename src/model.go => model.go (85%) rename src/ui.go => ui.go (100%) diff --git a/src/grid.go b/grid.go similarity index 100% rename from src/grid.go rename to grid.go diff --git a/src/main.go b/main.go similarity index 100% rename from src/main.go rename to main.go diff --git a/src/makefile b/makefile similarity index 100% rename from src/makefile rename to makefile diff --git a/src/model.go b/model.go similarity index 85% rename from src/model.go rename to model.go index e4fb153..5e2f0ab 100644 --- a/src/model.go +++ b/model.go @@ -7,10 +7,10 @@ package main /** * An abstract model interface. */ -type IModel interface ( - +type Model interface { + /** * The dimensions of the model (width, height). */ GetDimensions() (int, int) -) +} diff --git a/src/ui.go b/ui.go similarity index 100% rename from src/ui.go rename to ui.go