common

module
v0.0.0-...-07dafef Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0

README

Ukama Common

Common code for all Ukama projects

##How to use

# bypass go proxy
go env -w GOPRIVATE=$(go env GOPRIVATE),github.com/ukama
# bypass git login prompt
git config --global url."https://noneed:{GITHUB_TOKEN}@github.com/ukama".insteadOf /"https://github.com/ukama"
# import ukama, you can specify a git commit by adding @COMMIT_HASH to the end
go get github.com/ukama/ukama/systems/common

Then import in go file like

package main

import (
	"fmt"

	conf "github.com/ukama/ukama/systems/common/config"
)

func main() {
	db := conf.Database{}
	fmt.Printf("Db config %v", db)
}

Directories

Path Synopsis
This package is used to replace usage of github.com/pkg/errors package that used all over the code base with more conventional wrapping
This package is used to replace usage of github.com/pkg/errors package that used all over the code base with more conventional wrapping
pb
testing

Jump to

Keyboard shortcuts

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