pkg

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2018 License: LGPL-3.0

README

Packages for Go

This repository contains small, general purpose utility packages for Go. Its structure and content are inspired by https://github.com/pkg . As a guideline for inclusion in this repository, packages should only depend upon the standard library, golang.org/x packages, and other packages in this repository.

Overview

  • stdinprompt — prompts users that we are awaiting data on stdin.
  • writefile — idiomatic Unix file writing (tmpfile, rename into place once synced, dereference symlinks).

Directories

Path Synopsis
Package byteio supports applications that perform byte-oriented I/O, reading and writing only small chunks at a time.
Package byteio supports applications that perform byte-oriented I/O, reading and writing only small chunks at a time.
Package stdinprompt provides an io.Reader that will prompt the user if nothing is read within a short period of time.
Package stdinprompt provides an io.Reader that will prompt the user if nothing is read within a short period of time.
Package writefile provides simple support routines for writing data to a temporary file before renaming it into place.
Package writefile provides simple support routines for writing data to a temporary file before renaming it into place.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL