mod

package module
v0.0.0-...-9e237be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

README

PkgGoDev

mod

Detect VCS url for Go projects

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL