quchunguang / trygo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Go 99.2%Language:AutoHotkey 0.8%