8 Star 47 Fork 21

Lucky / go-hutool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
02-values.go 358 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lucky 提交于 2020-02-19 16:20 . go 例子排版顺序
package main
/**
* Go by Example 中文版:值
*/
import "fmt"
func main() {
//字符串可以通过 + 连接。
fmt.Println("go" + "lang")
//整数和浮点数
fmt.Println("1+1 =", 1+1)
fmt.Println("7.0/3.0 =", 7.0/3.0)
//布尔型,以及常见的布尔操作。
fmt.Println(true && false)
fmt.Println(true || false)
fmt.Println(!true)
}
Go
1
https://gitee.com/huangbosbos/go-hutool.git
git@gitee.com:huangbosbos/go-hutool.git
huangbosbos
go-hutool
go-hutool
81f09a275c3b

搜索帮助

53164aa7 5694891 3bd8fe86 5694891