## The `go` template: a Go module built through dh-golang. The logic half ## — the go.mod module-line probe and the `{go_import_path}` value below — ## lives in src/new/templates/go.rs; the skeleton bodies are static data ## (the `go` directive of go.mod stays a literal: nothing about it is ## answer-derived, so it has no {placeholder}). ## ## Schema: see src/new/templates/mod.rs. id: go label: Go module detect: files: [go.mod] build_depends: - golang-any - dh-golang architecture: any rules_dh_line: "dh $@ --buildsystem=golang" source_fields: XS-Go-Import-Path: "{go_import_path}" files: - path: go.mod template: go.mod.tpl - path: main.go template: main.go.tpl