12 2020 档案

摘要:一、安装 系统:centos7.x elastic版本:6.7.2 java版本:1.8 [root@zrl /]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.7.2.tar.gz #下载文件 阅读全文
posted @ 2020-12-27 15:08 Auler 阅读(120) 评论(0) 推荐(0) 编辑
摘要:一、定义 B树B-tree,B-树其实就是B树,英文名balanced tree。一棵m阶B树(balanced tree of order m)是一棵平衡的m路搜索树。它或者是空树,或者是满足下列性质的树: 1、根结点至少有两个子女; 2、每个非根节点所包含的关键字个数 j 满足:┌m/2┐ - 阅读全文
posted @ 2020-12-21 21:00 Auler 阅读(974) 评论(0) 推荐(0) 编辑
摘要:一、环境安装 系统:centos7 nginx下载地址:https://nginx.org/en/download.html 下载 PCRE 安装包,下载地址:https://sourceforge.net/projects/pcre/files/pcre/ [root@zrl tool]# yum 阅读全文
posted @ 2020-12-11 08:23 Auler 阅读(682) 评论(0) 推荐(0) 编辑
摘要:一、接口 type Car interface { //定义一个Car的接口 what() //定义一个方法 } type Bicycle struct { } type Motor struct { } func (bicycle Bicycle) what() { fmt.Println("I 阅读全文
posted @ 2020-12-02 18:52 Auler 阅读(121) 评论(0) 推荐(0) 编辑
摘要:一、切片Slice func main() { fmt.Println("Hello, World!") s := []int{1, 2, 3} //数组 printSlice(s) fmt.Println(s[0:2]) //使用切片方式 fmt.Println(s[:2]) fmt.Printl 阅读全文
posted @ 2020-12-02 13:27 Auler 阅读(97) 评论(0) 推荐(0) 编辑
摘要:一、数组 package main import "fmt" //全局变量 var g int = 10 //声明一个函数类型 type cb func(int) int func main() { fmt.Println("Hello, World!") var arr [5]int //一维数组 阅读全文
posted @ 2020-12-01 19:59 Auler 阅读(117) 评论(0) 推荐(0) 编辑
摘要:一、常量 const a int = 123 //常量定义const,显式 //a = 456 //修改常量值,会报错 Cannot assign to a,无法赋值 const b = 23 //隐式 const c,d = 1,"s" //多重赋值 const e,f int = 6,7 //多 阅读全文
posted @ 2020-12-01 17:38 Auler 阅读(67) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示