Help us shape the future of Go! Take the 2026 Go Developer Survey

bar

package
v1.26.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GopPackage for backward compatibility
	GopPackage = true // to indicate this is a XGo package
)
View Source
const XGos_Game_name = "game"

Variables

View Source
var XGos_Game_count int

Functions

func CreateUser added in v1.19.5

func CreateUser(name string, __xgo_optional_age int, __xgo_optional_active bool)

func Gopt_Game_Run

func Gopt_Game_Run(game Gamer, resource string)

Gopt_XXX for backward compatibility

Types

type Game

type Game struct {
}

func XGos_Game_New added in v1.20.0

func XGos_Game_New() *Game

func (*Game) RunLoop

func (p *Game) RunLoop()

type Gamer

type Gamer interface {
	RunLoop()
}

type Info added in v1.16.3

type Info struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL