当前位置:网站首页>Go basic data type
Go basic data type
2022-07-02 23:20:00 【Yi Yue Wang Chao】
python Is a dynamic data type language , and go Is a static data type language .
go Define integer and floating point
Program
package main import "fmt" func main() { // Definition bool type var gender bool = false // true/false fmt.Println(gender) // Define integer type , It is divided into unsigned and signed , There were 8/16/32/64 position var a int8 = 127 // -128~127 var b uint8 = 255 // 0~255 fmt.Println(" plastic int8:", a) fmt.Println(" plastic uint8:", b) // floating-point var c float32 = -2.3 fmt.Println(" floating-point float32:", c) }Running results :
边栏推荐
- (stinger) use pystinger Socks4 to go online and not go out of the network host
- 实现BottomNavigationView和Navigation联动
- BBR encounters cubic
- MarkDown基本语法
- Xshell configuration xforward forwarding Firefox browser
- (毒刺)利用Pystinger Socks4上线不出网主机
- Detailed explanation and application of merging and sorting
- STM32之ADC
- Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
- 理想汽车×OceanBase:当造车新势力遇上数据库新势力
猜你喜欢

Pandora IOT development board learning (HAL Library) - Experiment 4 serial port communication experiment (learning notes)

跨境电商如何通过打好数据底座,实现低成本稳步增长

Catalogue of digital image processing experiments

公司里只有一个测试是什么体验?听听他们怎么说吧

Chow-Liu Tree

Mask R-CNN

MarkDown基本语法

深度剖析数据在内存中的存储----C语言篇

Talk about memory model and memory order

ADC of stm32
随机推荐
Brief introduction of emotional dialogue recognition and generation
Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
1px pixel compatibility of mobile terminal, 1px border
RuntimeError: no valid convolution algorithms available in CuDNN
The use of 8255 interface chip and ADC0809
基于Pyqt5工具栏按钮可实现界面切换-2
Getting started with golang: for Range an alternative method of modifying the values of elements in slices
Application of containerization technology in embedded field
情感对话识别与生成简述
Eight honors and eight disgraces of the programmer version~
Pandora IOT development board learning (HAL Library) - Experiment 4 serial port communication experiment (learning notes)
力扣刷题(2022-6-28)
提交代码流程
vim区间删行注释
ServletContext learning diary 1
Value sequence < detailed explanation of daily question >
ping域名报错unknown host,nslookup/systemd-resolve可以正常解析,ping公网地址通怎么解决?
20220524_数据库过程_语句留档
Loss function~
Prometheus deployment
