ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / internal/modules/matching/testhelp_test.go

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / internal/modules/matching/testhelp_test.go
DateNot specified in source
RepositoryJanady13/missionmatch
Revision720d47fae476b0d38477ae4401697d372b1ea2bc
Branchfeature/opportunity-to-outcome
Path or archive memberinternal/modules/matching/testhelp_test.go
Original SHA-25690a8299cb47e83ea1ccbcb52401fc84971fc7fba336d169d45d5bcd1f145ac9a
Git blob SHA7c2fb03400d744b093f61669efdbc8f7bbd9d47a
Reading-copy SHA-25690a8299cb47e83ea1ccbcb52401fc84971fc7fba336d169d45d5bcd1f145ac9a

Original source ↗

Recovered source transcript

package matching import ( "os" "strings" "testing" ) func readFile(t *testing.T, name string) string { t.Helper() b, err := os.ReadFile(name) if err != nil { t.Fatalf("read %s: %v", name, err) } return string(b) } // functionBody bounds one function's text for the structural guards. Crude, and sufficient: it only has to // find where a function ends, and gofmt guarantees a top level func starts at column zero. func functionBody(src, signature string) string { i := strings.Index(src, signature) if i < 0 { return "" } rest := src[i+len(signature):] if j := strings.Index(rest, "\nfunc "); j >= 0 { return rest[:j] } return rest }

Search equations, builds, manuscript text, and recovered sources.