gomod

package module
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 4 Imported by: 1

README

gomod

utilidades para trabajar con modulos go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist

func Exist(dir string) (content string, err error)

dir ej: "test_project" default ""

func GetPackage

func GetPackage(line string) string

func GetRepositoryOwner

func GetRepositoryOwner(gomod_file_contend string) string

func GetSemanticVersion

func GetSemanticVersion(line string) string

func GetSeparateUsedPackageNames added in v0.0.5

func GetSeparateUsedPackageNames(path string) (modules, components []string, err error)

func GetUsedPackageNames

func GetUsedPackageNames(path string) ([]string, error)

func SeparatePackageNames added in v0.0.5

func SeparatePackageNames(packages_names []string) (modules, components []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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