ghtasklists

package
v0.0.0-...-e21b921 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ghtasklists provides utilities to work with GitHub's task lists

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(r io.Reader) (string, error)

Transform reads its text from the given reader and return the transformed text. It does not close the reader.

The resulting text will be the same as the input except that each line will be prefixed with "- [ ] " in order to be parsed by GitHub's Markdown parser as a task list item. Empty lines are skipped, and the output always ends with a newline.

func TransformString

func TransformString(s string) string

TransformString is like Transform except that it takes a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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