Documentation ¶ Index ¶ func Strings(left, right string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Strings ¶ func Strings(left, right string) (string, error) Strings computes the header-less unified diff between two strings. It uses an in-memory go-git repository to synthetically create the patch and then formats only the "hunk" portions. Types ¶ This section is empty. Source Files ¶ View all Source files gitdiff.go Click to show internal directories. Click to hide internal directories.