tools

package
v0.0.0-...-c27735a Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildURL

func BuildURL(addr, path string) (*url.URL, error)

func GetFirstCommand

func GetFirstCommand(u *url.URL) (first string, next string, err error)

func Pop

func Pop(path string) (string, string)

func SplitCommandArgs

func SplitCommandArgs(c string) (string, string)

Types

type ArrLog

type ArrLog []string

func (*ArrLog) Append

func (l *ArrLog) Append(s ...string)

func (*ArrLog) Appendf

func (l *ArrLog) Appendf(f string, args ...any)

func (*ArrLog) Appendln

func (l *ArrLog) Appendln(s ...string)

type ResultCode

type ResultCode int

func (*ResultCode) Set

func (c *ResultCode) Set(v int) int

Jump to

Keyboard shortcuts

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