Move auto generated source to a package

This commit is contained in:
Jakob Borg
2014-01-26 15:02:06 +01:00
parent 81d5d1d4a6
commit b1ba976122
4 changed files with 9 additions and 8 deletions

3
gui.go
View File

@@ -11,6 +11,7 @@ import (
"sync"
"time"
"github.com/calmh/syncthing/auto"
"github.com/calmh/syncthing/model"
"github.com/codegangsta/martini"
"github.com/cratonica/embed"
@@ -26,7 +27,7 @@ func startGUI(addr string, m *model.Model) {
router.Get("/rest/need", restGetNeed)
router.Get("/rest/system", restGetSystem)
fs, err := embed.Unpack(Resources)
fs, err := embed.Unpack(auto.Resources)
if err != nil {
panic(err)
}