![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
SeasonRun
君子不器
展开
-
一点一滴积累
历程中一点一滴积累,好记忆不如烂笔头原创 2022-07-21 10:22:36 · 231 阅读 · 0 评论 -
golang map集合合并
以下代码实现两个集合数据合并,如y中的数据在x已存在则使用y中的数据更新,如x中的数据在y中不存在则加入集合,如y中数据有新增的则加入集合。package mainimport ( "encoding/json" "fmt")func main() { x := map[string]string{"1": "110", "2":"120", "3":"119"} y := map[string]string{"1": "111", "2":"122", "4":"129"}原创 2020-08-26 21:15:03 · 15595 阅读 · 4 评论 -
golang模糊查询
下面介绍使用fuzzy.Find和string.Contains分别进行模糊查询package mainimport( "github.com/lithammer/fuzzysearch/fuzzy" "strings" "fmt")func main() { //fuzzy words := []string{"cartwheel", "foobar", "wheel", "baz"} match1 :=fuzzy.Find("whl", words) // [cartwhe原创 2020-08-22 22:17:05 · 4033 阅读 · 0 评论 -
git常见命令及常见问题解析
git clonegit pullgit checkoutgit fetchgit add *git commitgit push origin branch-name原创 2020-08-22 21:13:54 · 127 阅读 · 0 评论 -
Visual Studio添加引用
Visual Studio引用类库时提醒不存在,此时就需要手动添加引用,首先从网上下载相应的类库,在Project中选择Add Reference-Browse,打开本地存放路径,选择对应文件,最后点击OK即添加成功。...原创 2019-05-31 11:33:34 · 5478 阅读 · 0 评论 -
jQuery实现注册
直接上代码<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="styl...原创 2020-03-27 13:36:43 · 827 阅读 · 0 评论