摘要:
导入excel 1、打开数据库,右键表,选择导入向导 选择要导入的excel文件,然后excel将会以数据表的形式展示在该数据裤中 2、执行sql语句 INSERT INTO west_doctor_icd(`code`, `name`) SELECT `编码` AS CODE,`名称` AS NA 阅读全文
摘要:
查找文件或文件内容 find / -name filename 以文件名全局搜索某个文件 /name n 进入某个文件搜索某个单词。n表示下一个 grep "xx" filepath/filename | tail -n x 在某个文件中查找包含“xx”的最后x行 grep -A n -B n "x 阅读全文
摘要:
框架:gin 使用插件:github.com/360EntSecGroup-Skylar/excelize 在使用go get 安装的时候有可能会报错,这个时候我们可以去github上去找报错对应的包,然后在github上下载,放置到我们项目中对应的文件夹下 话不多说,直接贴代码,每一步均有注释 f 阅读全文