mirror of
https://github.com/bdnugget/eggos.git
synced 2026-11-07 04:17:27 +00:00
623 B
623 B
This directory contains examples of how eggos can be used to write common go applications.
helloworld
$ cd helloworld
$ egg run
concurrent prime sieve
$ cd prime-sieve
$ egg run
http server
$ cd httpd
$ egg run -p 8000:8000
Access this address from browser http://127.0.0.1:8000/hello
simple repl program
$ cd repl
$ egg run
simple animation
Code from The Go Programming Language
$ cd graphic
$ egg pack -o graphic.iso
$ egg run graphic.iso
handle syscall
This example shows how to add or modify syscall
$ cd syscall
$ egg run