Directory structure description for Go Project

Source: Internet
Author: User

I. PROJECT directory structure

Gopath
/bin
/pkg
/src
Project_1
Project_2

......
Project_n

Gopath: Equivalent to donet under the solution folder , you need to set in the environment variables, multiple separated by semicolons ;

Bin: Store the compiled executable file;

PKG: Store the compiled package file;

SRC: Store project source files;

Project_n: The source code directory for the specific project, which is equivalent to project folder under Donet.

Examples include:

Second, the directory structure in the Liteide

Resources:

Http://www.tiege.me/?p=417&utm_source=rss&utm_medium=rss&utm_campaign=golang-ide-liteide

http://blog.studygolang.com/2012/12/go%E9%A1%B9%E7%9B%AE%E7%9A%84%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84/


Directory structure description for Go Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.