Giter Site home page Giter Site logo

theos-golang-command-line-template's Introduction

How to use

This repo is modified from Thisrepo.

As any other theos template, you can simple do

git clone https://github.com/SirZenith/theos-golang-command-line-template.git
$THEOS/bin/nicify.pl ./theos-golang-command-line-template golang_command_line

After getting the .nic.tar file, put it in $THEOS/templates. So that next time when you use NIC, you will see this template in the list.

Put your golang code in the same directory with main.go. there is already some code in main.go, adding your code into that file base on existing content to get project running.

gogo.sh provide some shortcut

gogo.h <flag> <tool_name>

flags (all flags are bool type):
    -g | --go:      will generate go static lib.
    -p | --package: will run `make package` in ./theos_code drectory
    -i | --install: will run `make install` in ./theos_code drectory
    clean:          remove build results

You should proviede argument tool_name when -g flag appears, when multiple flags come up at the same time, operation will be execute in order of -g then -p finally -i.

clean will override all other flags. Do cleaning then exit.

theos-golang-command-line-template's People

Contributors

sirzenith avatar

Watchers

 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.