Categorygithub.com/bitrise-steplib/steps-go-list
modulepackage
0.0.0-20210929150747-c79878f3f6d6
Repository: https://github.com/bitrise-steplib/steps-go-list.git
Documentation: pkg.go.dev

# README

Go list Bitrise Build Status Bitrise Step Version GitHub License Bitrise Community

This step runs the go list ./... command for you to list the go packages named by the import paths, starting from the current working directory.
It can return a filtered package list in line with the exclude patterns.

Examples

List packages in the working directory excluding vendor/*

---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
workflows:
  release:
    steps:
    - git-clone: {}
    - go-list@0:
        inputs:
        - exclude: vendor/*

Configuration

Inputs

ParameterDescriptionRequiredDefault
excludeExclude patterns-"/vendor/"

Outputs

Environment VariableDescription
BITRISE_GO_PACKAGESList of go packages

Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the bitrise cli to run your tests locally

Creating your own steps

Follow this guide if you would like to create your own step

# Packages

No description provided by the author

# Structs

FilteredLines ...