v0.14.0 web replay UI, My games, CLI replay
This commit is contained in:
37 files changed
+4058
-1803
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//go:build !js && !wasm
|
||||
|
||||
package command
|
||||
|
||||
import "os"
|
||||
|
||||
// savePGN writes a PGN export to path.
|
||||
func savePGN(path, text string) error {
|
||||
return os.WriteFile(path, []byte(text), 0o644)
|
||||
}
|
||||
Reference in new issue
Block a user