Skip to content

Commit

Permalink
bumping min required go version to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
narendasan committed Apr 25, 2017
1 parent dbeab44 commit 491ee71
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions services.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
package arbor

import (
"net/http"

"github.com/acm-uiuc/arbor/services"
)

Expand All @@ -21,12 +19,7 @@ import (
// Method: The type of request (GET, POST, DELETE, etc.)
// Pattern: The exposed url pattern for clients to hit, allows for url encoded variables to be specified with {VARIABLE}
// HandlerFunc: The function to handle the request, this basicically should just be the proxy call, but it allows you to specify more specific things
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
type Route services.Route

// RouteCollection is a slice of routes that is used to represent a service (may change name here )
// Usage: The recomendation is to create a RouteCollection variable for all of you services and for each service create a specific one then in a registration function append all the service collections into the single master collection.
Expand Down

0 comments on commit 491ee71

Please sign in to comment.