Get the format right, leave the data for later
Y7VFVY6EMR7FMVCTPLBIYVRI2DJTOSUK7LSRRRIODT3G57FR7Z4QC
package main
import (
"fmt"
"time"
)
const timeFormat = "Mon Jan 2 15:04:05 2006 -0700"
func main() {
fmt.Println("commit refs/heads/master")
fmt.Println("mark :1")
fmt.Println("committer Andy Balholm <andy@balholm.com>", time.Now().Format(timeFormat))
fmt.Println("data <<END")
fmt.Println("Test commit")
fmt.Println("END")
fmt.Println()
}
module pijul-export
go 1.20