Go SHM API to read simple data with size from SHM name

This commit is contained in:
Kovid Goyal
2023-02-20 21:23:23 +05:30
parent 3f829ccdde
commit 5a8d903a4d
7 changed files with 229 additions and 4 deletions

20
tools/cmd/pytest/main.go Normal file
View File

@@ -0,0 +1,20 @@
// License: GPLv3 Copyright: 2023, Kovid Goyal, <kovid at kovidgoyal.net>
package pytest
import (
"fmt"
"kitty/tools/cli"
"kitty/tools/utils/shm"
)
var _ = fmt.Print
func EntryPoint(root *cli.Command) {
root = root.AddSubCommand(&cli.Command{
Name: "__pytest__",
Hidden: true,
})
shm.TestEntryPoint(root)
}