6th Day of Learning Go Language (summary yesterday)

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

First, the summary of yesterday to fill in:

1. Install SVN (subversion) and learn how to use it.

A) installation package installation

b) Create a library to hold the project

c) Right-click the target project, import into the library

d) Right-click the target folder, checkout, and export the SVN files to the destination folder

2. See the ZCMLV_V1 Code

Mainly look at the login interface and user management interface code, MAIN.GO (can be set at the side of the static file) →router (routing) →controller (Controller) →model (access to the database) →view (page show)

3. Summarize the storage mechanism of the go language, knowledge of pointers, and value passing and reference passing

For example A: = 2 The system opened up an area, the area is likened to a house, the name of the house is a, the address of the house is a series of pointer values, the house inside the person is "2".

B: =a equivalent to create a new address, room named B, which lived 2, this time change the value of B, a house has no effect

But if P:=&a

*p = 3, because the pointer is a reference type of data, so is the reference to pass, change is the person who live, so at this time a==3

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.