Brother even blockchain training take you to the actual go case (%) go value

Source: Internet
Author: User

The heat of blockchain technology is obvious to everyone inside and outside the coin circle, but we don't know how to explain it when we talk about how much the technology is burning. In fact, this is not very difficult, if we start from the job market changes in this field, we can quickly understand how the blockchain technology is really fire.

The go language is primarily used as a server-side development, targeting the development of "large software", suitable for many programmers to develop large-scale software together, and the development cycle of long-term support for cloud computing network services. The go language enables programmers to develop quickly, and it makes it easier for programmers to maintain and modify the software as it grows. It combines the efficiency of a traditional compiled language with the ease of use and expression of a scripting language.

Go value

Go has a number of data types, including string type, Integer, float, Boolean, and so on, here are some basic examples.

Packagemain

Import "FMT"

Funcmain () {

Strings can be connected using "+"

Fmt. Println ("Go" + "lang")

Integral and floating-point types

Fmt. Println ("1+1=", +)

Fmt. Println ("7.0/3.0=", 7.0/3.0)

Several operators of Boolean type

Fmt. Println (True&&false)

Fmt. Println (true| | False

Fmt. Println (!true)

}

The output result is

Golang

1+1=2

7.0/3.0=2.3333333333333335

False

True

False

Related Article

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.