Skip to content

jeffallen/g

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utility packages for Go.

  • sercom

    Access to serial ports on Linux and Windows. A port may also be served and dialed to via 9P.

  • go9p

    Utility functions for go9p

  • text

    Plain text processing utilities.

    Contains Tokenize, an implementation of an equally named function of Plan 9's libc (similar to string.Fields, but with interpretation of single quotes).

  • image

    A Bitmap image of BinaryColor values implementing the image.Image interface. It is used by packages pnm and xbm, which contain decoders for raw PBM and XBM images.

  • ioutil

    ChannelizeReader and IsTerminal.

  • registry

    Access to Windows' registry database (still read-only).

  • syscall

    System functions for Linux and Windows that were needed to implement the above packages.

    The make use of the mksyscall*.sh scripts from $GOROOT/src/pkg/syscall.

Installation

Using the new Go tool, single packages along with their dependencies can be installed by running

go get github.com/knieriem/g/PACKAGE

For instance,

go get github.com/knieriem/g/sercom

will install the serial port package, and it will make sure that its dependencies

code.google.com/p/go9p/p
code.google.com/p/go9p/p/clnt
code.google.com/p/go9p/p/srv
github.com/knieriem/g/syscall
github.com/knieriem/g/go9p/user
github.com/knieriem/g/ioutil

are present and installed too.

Directory `examples' contains programs making use of some of the packages.

About

Go utility packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.8%
  • Shell 2.9%
  • Other 0.3%