Basic groundwork for viperid, a fantasy console
This commit is contained in:
0
example_project/.gitignore
vendored
Normal file
0
example_project/.gitignore
vendored
Normal file
BIN
example_project/build/game.wasm
Normal file
BIN
example_project/build/game.wasm
Normal file
Binary file not shown.
3
example_project/go.mod
Normal file
3
example_project/go.mod
Normal file
@ -0,0 +1,3 @@
|
||||
module example_project
|
||||
|
||||
go 1.21.5
|
16
example_project/main.go
Normal file
16
example_project/main.go
Normal file
@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime/debug"
|
||||
)
|
||||
|
||||
func main() {
|
||||
count := 0
|
||||
for {
|
||||
fmt.Printf("Hello! %d", count)
|
||||
count++
|
||||
debug.PrintStack()
|
||||
panic("pizza!")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user