Initial upload: ScaffoldForge CLI tool with full codebase, tests, and CI/CD
This commit is contained in:
17
scaffoldforge/templates/go/default/main.go.j2
Normal file
17
scaffoldforge/templates/go/default/main.go.j2
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// Main entry point for {{ project_name }}
|
||||||
|
// Generated from GitHub Issue #{{ issue_number }}: {{ issue_title }}
|
||||||
|
// URL: {{ issue_url }}
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
{% for item in todo_items %}
|
||||||
|
// TODO #{{ loop.index }}: {{ item }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("{{ project_name }} is running")
|
||||||
|
fmt.Printf("Repository: {{ repository }}\n")
|
||||||
|
fmt.Printf("Issue: {{ issue_number }}\n")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user