util

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopMsg

func PopMsg(msgList [][]string) (head []string, tail [][]string)

PopMsg removes the first message in the message array

func PopStr

func PopStr(list []string) (head string, tail []string)

PopStr removes the first element in the array

func Unwrap

func Unwrap(msg []string) (head string, tail []string)

Unwrap pops a frame off front of message and returns it as 'head', if the next frame is empty, it pops that empty frame. Return remaining frames of message as 'tail'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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