diff --git a/rfc/xr.go b/rfc/xr.go index 60f9f01..b765651 100644 --- a/rfc/xr.go +++ b/rfc/xr.go @@ -11,13 +11,14 @@ import ( "fmt" htmltemplate "html/template" "log" - "maps" "os" "path/filepath" "regexp" "sort" "strconv" "strings" + + "golang.org/x/exp/maps" ) var destdir string @@ -32,7 +33,7 @@ func xwritefile(path string, buf []byte) { p := filepath.Join(destdir, path) os.MkdirAll(filepath.Dir(p), 0755) err := os.WriteFile(p, buf, 0644) - xcheckf(err, "writing file", p) + xcheckf(err, "writing file %s", p) } func main() {