Boilerplate for how I like to write a backend web service.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

8 rader
168 B

// +build dev
package assets
import "net/http"
// Assets is the public file system which should be served by http
var Assets http.FileSystem = http.Dir("../public")