common

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitComment

func SplitComment(comment string, maxSize int, sepEnd string, sepStart string) []string

SplitComment splits comment into a slice of comments that are under maxSize. It appends sepEnd to all comments that have a following comment. It prepends sepStart to all comments that have a preceding comment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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