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
|
||||
- ./update-deps-linux
|
||||
- ./dev-update-travis
|
||||
- go build -o Gosora
|
||||
- ./Gosora -build-templates
|
||||
install: true
|
||||
script: ./run-linux-tests
|
||||
addons:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
package tmpl
|
||||
|
||||
var GetFrag func(name string) [][]byte
|
||||
var GetFrag = func(name string) [][]byte {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
package main
|
||||
|
||||
var GetFrag func(name string) [][]byte
|
||||
var GetFrag = func(name string) [][]byte {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue