Skip to main content

A tool simplifying the generaton of clean GO sample with a specified set of included libraries.

Project description

GoStrap

GoStrap is a tool to easily bootstrp GO samples using a set of GO libraries and GO versions.

Build & Install

To build GoStrap use Hatch's usual build command :

hatch build

The built archive will be placed in the "dist" directory as a .whl file. To install GoStrap, simply install the .whl file using pip.

pip install dist/gostrap-*.whl

Command Line Usage

Once installed, a new utility gostrap will be available.

usage: gostrap [-h] [-l [LIBS ...]] [-g [VERSIONS ...]] [-a ARCH] [-p PLATFORM] [-f] [-s]

options:
  -h, --help                              show this help message and exit
  -l [LIBS ...], --libs [LIBS ...]        List of GO libs to include in the generated samples.
  -g [VERSIONS ...], --go [VERSIONS ...]  List of GO version to build the samples with.
  -a ARCH, --arch ARCH                    Target CPU architecture.
  -p PLATFORM, --platform PLATFORM        Target Operaring System.
  -f, --force                             Force build existing samples.
  -s, --show                              Show available go versions

Here is a typical workflow using GoStrap :

gostrap --libs "set,of,libs" --go "go1.23.4,go1.14" --arch "AMD64" --platform "Windows"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gostrap-1.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gostrap-1.0.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file gostrap-1.0.1.tar.gz.

File metadata

  • Download URL: gostrap-1.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for gostrap-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6ccfcaedcaaf945f8daf6d4802cbbcad7c2185bfadea6038623169837d7bedd0
MD5 3afe69bdc854610977553f40a383f078
BLAKE2b-256 541b75c8c7472b4499b6fc38098bfaf3916ddb3be070919bded0c92ebe196a5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gostrap-1.0.1.tar.gz:

Publisher: publish.yml on volexity/GoStrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gostrap-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gostrap-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for gostrap-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1e2d0dab3f64e45e14c85bc0baa12605d7a083385ab3a0d6389bc0c13c103ae
MD5 fd719dd45c30a5b28a70419bd8c1f4eb
BLAKE2b-256 3de2368243102ff2bebcbb153bf88ed49d089b14e0c22ab65366d6065d347f04

See more details on using hashes here.

Provenance

The following attestation bundles were made for gostrap-1.0.1-py3-none-any.whl:

Publisher: publish.yml on volexity/GoStrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page