GithubHelp home page GithubHelp logo

go-zera-network's Introduction

go-zera-network

At set of Zera Network packages in Go using GRPC to communicate.

Setup

This is a private package which requires github authentication to fetch

How to install latest version on go project

go get -u github.com/ZeraVision/go-zera-network

Troubleshooting

In the event go get returns a 404 error:

  1. Ensure that your machine is using the correct Personal Access Token or is authenticated with Github correctly.
  2. Temporarily adjust the environment variable to include the repository URL by setting GOPRIVATE to github.com/ZeraVision/go-zera-network.

    Powershell

    $env:GOPRIVATE="github.com/*"

    ZSH Bash

    export GOPRIVATE=github.com/*

Development

Setup (optional: only needed to generate proto files)

go install google.golang.org/grpc/cmd/[email protected]

Generating proto/gRPC files

Run from repository root.

protoc --go_out=. --go-grpc_out=. --proto_path=./grpc/proto  ./grpc/proto/*.proto

Pushing New Version to Github

  1. Determine the Tag Name: First, follow the Version Naming Standards to decide on the appropriate tag name for the new version.

  2. Tag the Associated Commit: To push a new version, you need to tag the associated commit with the chosen tag name. You can do this using the following command:

    git tag {tag name} 
  3. Push the Tag to GitHub: Finally, push the newly created tag to GitHub:

    git push --tags 

Version Naming Standards {#naming-standards}

  • Example: "v1.12.2"
  • Expanded Format: "v{Major Version}.{Minor Version}.{Patch Version}"

go-zera-network's People

Contributors

willgtw avatar bphillips-99 avatar jzera avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.