README

PkgGoDev

mod

Detect VCS url for Go projects

Expand ▾ Collapse ▴

Documentation

Overview

    Package mod detect VCS url for Go projects

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func DetectVCSRoot

    func DetectVCSRoot(repoURL string) (string, error)

    func IsPublicGitRepo

    func IsPublicGitRepo(repoURL string) bool

    Types

    type GoImport

    type GoImport struct {
    	RepoRoot string
    	VCSRoot  string
    }

    func (GoImport) String

    func (g GoImport) String() string

    type MetaData

    type MetaData struct {
    	GoImport string `meta:"go-import"`
    }

    Source Files