Skip to content

installable-sh/lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib

Shared Go libraries for installable.sh.

Installation

go get github.com/installable-sh/lib

Packages

certs

Embedded CA certificates from Alpine Linux, updated weekly.

import "github.com/installable-sh/lib/certs"

pool := certs.CertPool()

fetch

HTTP client with retries and embedded CA certificates.

import "github.com/installable-sh/lib/fetch"

resp, err := fetch.Get(ctx, "https://example.com")

shell

Shell script execution using mvdan.cc/sh.

import "github.com/installable-sh/lib/shell"

err := shell.Run(ctx, "echo hello", os.Stdout, os.Stderr)

version

Version information utilities.

import "github.com/installable-sh/lib/version"

v := version.Get()

License

Apache 2.0 - see LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors