private-module

command module
v0.0.0-...-d765518 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: CC-BY-4.0 Imports: 2 Imported by: 0

README

private module

Go module support private repo.

Define private repo

go env -w GOPRIVATE=github.com/liminaab/captron_go_lib;

It ingore the public checksum from public proxy of Go

Update required access permission of git with your repo

Get/create access tokens from https://github.com/settings/tokens

and update it to:

cat ~/.gitconfig


# This is Git's per-user configuration file.
[url "git@github.com:{org_name}/{repo_name}.git"]
    insteadOf = https://{org_name}/{repo_name}/captron_go_lib

And run it

go get github.com/{org_name}/repo_name/
go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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