An open API service indexing awesome lists of open source software.

https://github.com/reddec/godetector

Tools to detect golang package
https://github.com/reddec/godetector

Last synced: over 1 year ago
JSON representation

Tools to detect golang package

Awesome Lists containing this project

README

          

# GO-Detector

[![Documentation](https://img.shields.io/badge/documentation-latest-green)](https://godoc.org/github.com/reddec/godetector)
[![license](https://img.shields.io/github/license/reddec/godetector.svg)](https://github.com/reddec/godetector)
[![](https://godoc.org/github.com/reddec/godetector?status.svg)](http://godoc.org/github.com/reddec/godetector)
[![donate](https://img.shields.io/badge/help_by️-donate❤-ff69b4)](http://reddec.net/about/#donate)

The library aims to provide useful utilities to work with golang packages:

* Detect package name from directory (not just by using base name, but also parse go files)
* Detect package import path (including vendor support and go modules)
* Detect import package definition (where go files located) with respect to gomodules