enum

package module
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 0 Imported by: 0

README

enum Intro

Package is for re-use common enums everywhere.

Git Clone

git clone https://gitlab.com/evatix-go/enum.git

2FA enabled, for linux

git clone https://[YourGitLabUserName]:[YourGitlabAcessTokenGenerateFromGitlabsTokens]@gitlab.com/evatix-go/enum.git

Prerequisites
  • Update git to latest 2.29
  • Update or install the latest of Go 1.15.2
  • Either add your ssh key to your gitlab account
  • Or, use your access token to clone it.

Installation

go get gitlab.com/evatix-go/enum

Go get issue for private package
  • Update git to 2.29
  • Enable go modules. (Windows : go env -w GO111MODULE=on, Unix : export GO111MODULE=on)
  • Add gitlab.com/evatix-go to go env private

To set for Windows:

go env -w GOPRIVATE=[AddExistingOnes;]gitlab.com/evatix-go

To set for Unix:

expoort GOPRIVATE=[AddExistingOnes;]gitlab.com/evatix-go

To go get as root:

Why enum?

Provides and reduces code lines for dealing with async stuff.

Examples

Code Smaples

Docker Examples

docker -v /on/my/host/1:/on/the/container/1 \
       -v /on/my/host/2:/on/the/container/2 \
       ...

Acknowledgement

Any other packages used

Build of Windows

path_windows.go
// +build windows
package project

const PATH_SEPARATOR = '\\'
path_unix.go
// +build !windows
package project

const PATH_SEPARATOR = '/'

Issues

Notes


Remaining Items

- backup
- import
- export
- osgroup

Contributors

License

Evatix MIT License

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