utils

command module
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 1 Imported by: 0

README

PkgGoDev

Abstract

This repository collects a couple of utility packages I'd like to share. Most notable are:

  • aduu.dev/utils/dash: executing shell commands by parsing and feeding them into exe.CMD
  • aduu.dev/utils/runmanager: starting multiple services and if one crashes/exists then shut all down

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package dash splits templating/env expansion and command running into their own method calls.
Package dash splits templating/env expansion and command running into their own method calls.
dns
dyndns
Package dyndns updates dynamic DNS hostnames.
Package dyndns updates dynamic DNS hostnames.
Package env includes methods to make retrieving environment variables more predictable.
Package env includes methods to make retrieving environment variables more predictable.
Package errors2 implements methods complementing golang.org/x/xerrors.
Package errors2 implements methods complementing golang.org/x/xerrors.
Package exe enables template completion before command execution.
Package exe enables template completion before command execution.
Package fmt2 puts some fmt-Package methods into an interface.
Package fmt2 puts some fmt-Package methods into an interface.
go
gocmdcopy
Package gocmdcopy copies with the given expander from the given directory into the given directory.
Package gocmdcopy copies with the given expander from the given directory into the given directory.
godoc
Package godoc includes a method to serve a given package path on a given port on localhost.
Package godoc includes a method to serve a given package path on a given port on localhost.
gomod
Package gomod includes methods and structures to resolve relative path based on where the nearest go.mod is.
Package gomod includes methods and structures to resolve relative path based on where the nearest go.mod is.
gomod/gomodtest
Package gomodtest includes helpers for accessing files and packages inside the current Go Module.
Package gomodtest includes helpers for accessing files and packages inside the current Go Module.
packages
Package packages includes methods to help dealing with go packages.
Package packages includes methods to help dealing with go packages.
Package helper contains generally-useful helper methods.
Package helper contains generally-useful helper methods.
Package logtesting can set the logLevel inside tests to show debug messages printed with klog.
Package logtesting can set the logLevel inside tests to show debug messages printed with klog.
Package regex contains regexp helper methods for group matches.
Package regex contains regexp helper methods for group matches.
runnables/sshtunnel/sshtunnelcmd
Package runs ssh tunnels.
Package runs ssh tunnels.
Package shell offers a shell to execute code in.
Package shell offers a shell to execute code in.
Package strings2 contains string helpers.
Package strings2 contains string helpers.
web
Package yuml2svg generates yuml files using the yuml2svg Typescript package.
Package yuml2svg generates yuml files using the yuml2svg Typescript package.
yuml
Package yuml: Use the package above to generate svgs from yuml.
Package yuml: Use the package above to generate svgs from yuml.

Jump to

Keyboard shortcuts

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