Skip to content

Commit

Permalink
Moving files around to follow proper go project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonagr committed Jun 23, 2014
1 parent 73a81bc commit 723d5ec
Show file tree
Hide file tree
Showing 21 changed files with 16 additions and 16 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.go → gocupi.go
Expand Up @@ -3,9 +3,9 @@ package main
import (
"flag"
"fmt"
. "github.com/brandonagr/gocupi/polargraph"
"github.com/qpliu/qrencode-go/qrencode"
"math"
. "plotter"
"sort"
"strconv"
"strings"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/plotter/chart.go → polargraph/chart.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

import (
chart "code.google.com/p/plotinum/plot"
Expand Down
2 changes: 1 addition & 1 deletion src/plotter/coordinate.go → polargraph/coordinate.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Handles converting X,Y coordinate into polar coordinates

Expand Down
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Tests for PolarCoordinate and Coordinate

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/driver.go → polargraph/driver.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Handles sending data over serial to the arduino

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/gcode.go → polargraph/gcode.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Reads a text file and generates a program representation of the Gcode

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/generator.go → polargraph/generator.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Generates StepData either from a GetPosition func or from GCode data

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/image.go → polargraph/image.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Draws a series of coordinates to an image

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/image_test.go → polargraph/image_test.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Tests for image contour path and helper functions

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/interpolater.go → polargraph/interpolater.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Manages the trapezoidal interpolation

Expand Down
@@ -1,4 +1,4 @@
package plotter
package polargraph

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion src/plotter/mouse.go → polargraph/mouse.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Allows current mouse position to be read

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/settings.go → polargraph/settings.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

import (
"encoding/xml"
Expand Down
2 changes: 1 addition & 1 deletion src/plotter/svg.go → polargraph/svg.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Reads an SVG file with path data and converts that to a series of Coordinates
// PathParser is based on the canvg javascript code from http://code.google.com/p/canvg/
Expand Down
2 changes: 1 addition & 1 deletion src/plotter/svg_test.go → polargraph/svg_test.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Tests for svg loading

Expand Down
2 changes: 1 addition & 1 deletion src/plotter/text.go → polargraph/text.go
@@ -1,4 +1,4 @@
package plotter
package polargraph

// Renders a given text string to the board

Expand Down

0 comments on commit 723d5ec

Please sign in to comment.