Source

microtext /

Filename Size Date modified Message
1.5 KB
355 B
486 B
1.2 KB
448 B
4.0 KB
1.3 KB

Microtext

A twitter-text-java port to Go. Enables you to extract and optionally autolink URL's in text.

Features

Currently microtext supports:

  • extracting URL's
  • autolinking URL's in text
  • shortening URL's for display

Mentions & hashtags are not implemented.

Example

import (
    "kluivers/microtext"
)

text = microtext.Autolink(text)

What's in the name

The name microtext refers to the text processing in status updates for microblogs.