formatter

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColoredText

func ColoredText(d *delta.DiffSolution) string

func HTML

func HTML(d *delta.DiffSolution) string

HTML builds up a html diff. Here be dragons! This is meant for the delta GUI.

func HTMLLine

func HTMLLine(d *delta.DiffSolution) (string, string)

HTMLLine renders a diff solution into a before and after string. Words are added one at a time, and changes are marked with spans.

func Text

func Text(d *delta.DiffSolution) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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