Solve the chicken and the egg problem with the templates.
This commit is contained in:
parent
8035c27445
commit
8ff8ce8e51
|
@ -12,8 +12,6 @@ before_install:
|
||||||
- chmod 755 ./run-linux-tests
|
- chmod 755 ./run-linux-tests
|
||||||
- ./update-deps-linux
|
- ./update-deps-linux
|
||||||
- ./dev-update-travis
|
- ./dev-update-travis
|
||||||
- go build -o Gosora
|
|
||||||
- ./Gosora -build-templates
|
|
||||||
install: true
|
install: true
|
||||||
script: ./run-linux-tests
|
script: ./run-linux-tests
|
||||||
addons:
|
addons:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
package tmpl
|
package tmpl
|
||||||
|
|
||||||
var GetFrag func(name string) [][]byte
|
var GetFrag = func(name string) [][]byte {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
var GetFrag func(name string) [][]byte
|
var GetFrag = func(name string) [][]byte {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue