Git Product home page Git Product logo

bamboorat's Introduction

bambooRat

Build Status


项目简介

主要是方便自动构建项目,快速进行基础开发
本项目提供了两种构建方式, 任意一种或者两种可以同时使用,后面会详细解释。

  • 依赖GOPATH 的传统构建方式,在目录goproject下
  • 不依赖GOPATH,使用go module管理依赖包,并且可以和GOPATH同步使用的自动构建方式(推荐)
├── LICENSE 
├── README.md
├── go  // golang bin dir
├── goprojects // GOPATH project
├── modprojects // mod project
├── start.sh // init script
└── tools // constract scripts

1. goprojects

sh start.sh 一键安装, golang语言包,golang环境变量, protobuf micro grpc等基本安装包 构造项目的环境变量 这里被墙掉的库需要在tools下面的github_list文本进行手动维护,可以仿照格式自行添加。

2. modprojects

cd modprojects
go mod tidy // download dependances
go bulid ${project_name} // your project name

目前官方从1.11版本以后主要推荐go module 翻墙需要添加goproxy.io代理

export GOPROXY=https://goproxy.io

如果要搭建自己的代理服务器,具体参考goproxy

相关私有仓库的搭建推荐使用gogs

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.