2021年2月28日
摘要: 一.删除整行:command+shift+k 二.删除所有空行: 1.输入Command + Option + F打开替换栏 2.输入正则匹配:^\s*(?=\r?$)\n 3.选择全部替换为空 基本 Command + X 剪切(未选中文本的情况下,剪切光标所在行) Command + C 复制( 阅读全文
posted @ 2021-02-28 21:46 Code2020 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: 函数 Go语言里面的核心设计,通过关键字func来声明 func funcName(input type1, input2 type2) (output1 type1, output2 type2) { //logical code return value1, value2 } 基本语法 1.语法 阅读全文
posted @ 2021-02-28 21:45 Code2020 阅读(914) 评论(0) 推荐(0) 编辑