PkgGoDev GitHub Actions CI Status GoReportCard Coverage Status Codebeat badge GitHub Actions CodeQL Status

InstallationUsage exampleCI StatusContributingLicense

depsy is simple Go package for parsing dependencies info from go.mod files with minimal dependencies.

Installation

Make sure you have a working Go 1.17+ workspace (instructions), then:

go get github.com/essentialkaos/depsy

Usage example

package main

import (
  "fmt"
  "github.com/essentialkaos/depsy"
)

//go:embed go.mod
var modules []byte

func main() {
  deps := depsy.Extract(modules, false)

  for _, dep := range deps {
    fmt.Println(dep)
  }
}

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

GitHub

View Github