all repos — homestead @ 20dd619b8605660dac67fa435d711e5f22da3174

Code for my website

ensure reasonable ordering of declarations in source

Alan Pearce
commit

20dd619b8605660dac67fa435d711e5f22da3174

parent

6f41d182abaf1af16fd0cc697abf0f2e9ce54c5c

1 file changed, 6 insertions(+), 6 deletions(-)

changed files
M domain/content/builder/builder.godomain/content/builder/builder.go
@@ -26,12 +26,6 @@ "github.com/Southclaws/fault/fmsg"
mapset "github.com/deckarep/golang-set/v2" ) -var feedHeaders = map[string]string{ - "Access-Control-Allow-Origin": "*", - "Access-Control-Allow-Methods": "GET, OPTIONS", - "Access-Control-Max-Age": "3600", -} - type Options struct { Source string `conf:"default:.,short:s,flag:src"` Development bool `conf:"default:false,flag:dev"`
@@ -39,6 +33,12 @@ VCSRemoteURL config.URL `conf:"default:https://git.alin.ovh/website"`
Storage storage.Writer `conf:"-"` Repo *vcs.Repository `conf:"-"` +} + +var feedHeaders = map[string]string{ + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "GET, OPTIONS", + "Access-Control-Max-Age": "3600", } func joinSourcePath(src string) func(string) string {