Giter Club home page Giter Club logo

go-project's Introduction

Go-project

Support Go version visitor

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Go                             580           3224           4002          14259
XML                             11              0              0           2046
JavaScript                      40             75            150            320
SQL                             16             33             16            274
Markdown                         5             46              0            148
JSON                             3              1              0             71
YAML                             4              3              0             60
INI                              2              2              0             31
make                             2             12             11             30
Bourne Shell                     1              1              1             14
Dockerfile                       1              8              6             14
C++                              1              0              0             13
HTML                             1              0              0             10
CSV                              2              0              0              9
-------------------------------------------------------------------------------
SUM:                           669           3405           4186          17299
-------------------------------------------------------------------------------

开发环境搭建

安装

Go 环境安装

检查版本: go version

配置环境变量

  1. Windows

我的电脑 -> 属性 -> 高级系统设置 -> 环境变量 -> 系统变量 -> path -> 复制 bin 路径 ...go\bin

  1. Mac
vim ~/.bash_profile
export PATH=$PATH:/usr/local/go/bin
source ~/.bash_profile

Code

hello.go

package main

import "fmt"

func main() {
    fmt.Println("hello world!")
}

linux

Go Docs

go mod init example.com/hello

go-project's People

Contributors

coulsonzero 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.