multiline

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reindent

func Reindent(ss []string, prefix, indent string)

func SplitAtEOLs

func SplitAtEOLs(s string) []string

SplitAtEOLs splits a string at EOLs and removes white space at the end of each line

func TrimBottom

func TrimBottom(ss []string) []string

func TrimTop

func TrimTop(ss []string) []string

func TrimTopAndBottom

func TrimTopAndBottom(ss []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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