Answer architecture round 3: the generated header names go generate, one sorted-keys helper everywhere, one site constructor, and an inline folder reference refused before anything loads

This commit is contained in:
2026-10-03 17:46:28 +02:00
committed by Lillem4n
parent 3bb8628e39
commit cc8797744b
10 changed files with 32 additions and 42 deletions
+1 -7
View File
@@ -2,7 +2,6 @@ package fejkdata
import (
"os"
"sort"
"strconv"
"strings"
"testing"
@@ -109,12 +108,7 @@ func readsFact(n node) string {
if len(set) == 0 {
return ""
}
keys := make([]string, 0, len(set))
for k := range set {
keys = append(keys, k)
}
sort.Strings(keys)
return "\treads " + strings.Join(keys, " ")
return "\treads " + strings.Join(sortedNames(set), " ")
}
func TestShippedShapeNamesReads(t *testing.T) {