Skip to content

simple samples of golang witch goals to covers full fealture of golang.

License

Notifications You must be signed in to change notification settings

quchunguang/trygo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trygo

Build Status Go Report Card GoDoc

Simple samples of golang witch goals to covers full feature of golang.

Description

  • testlang.go - Small demos about golang language specification.

  • testlib.go - Small demos about golang standard packages.

  • simtool - Simulate some tools of unix/linux

  • eventframework - A simple event callback framework by golang.

  • cat - A demo impletements the unix-like cat command.

  • demos/.../ - Standalone demos.

Install

sudo apt-get install libgl1-mesa-dev xorg-dev # dependence

go get github.com/quchunguang/trygo
go get github.com/quchunguang/trygo/demos/...

Usage

Demos can be run separatly by testing. For example, we want to run DemoDefine(), we can,

go test -test.run TestDemoDefine

For one of standalone demo named testXXX, run testXXX.

About

simple samples of golang witch goals to covers full fealture of golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published