Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kr/text
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6807e77
Choose a base ref
...
head repository: kr/text
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.0
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on May 20, 2015

  1. Run 'gofmt -w -s' on sources

    maruel committed May 20, 2015
    Configuration menu
    Copy the full SHA
    e373e13 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2015

  1. text: fix infinite loop in Wrap

    If the last word is greater than the limit, we wouldn't
    set the next line break at all, and it would be left at
    0, causing an infinite loop in the final loop to apply
    the line breaks.
    
    To fix this, recognize that the last word must be on the
    last line, so its length doesn't matter. Always set the
    last word's next break to the end of the text.
    
    Fixes #1.
    Closes #2.
    kr committed Sep 5, 2015
    Configuration menu
    Copy the full SHA
    bb797dc View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. cmd/agg: new command

    kr committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7cafcd8 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2018

  1. add go.mod

    kr committed May 6, 2018
    Configuration menu
    Copy the full SHA
    e2ffdb1 View commit details
    Browse the repository at this point in the history
Loading