01 2022 档案

摘要:1、安装 go get -u github.com/gin-gonic/gin 2、在go.mod写入代码 : require github.com/gin-gonic/gin v1.7.7 3、更新下mod包,test为项目名 go mod init test go mod tidy 5、引入gi 阅读全文
posted @ 2022-01-30 16:24 bingxingc 编辑
摘要:go语言 JSON 读写到文件 func readFile() { filePtr, err := os.Open("person_info.json") if err != nil { fmt.Println("Open file failed [Err:%s]", err.Error()) re 阅读全文
posted @ 2022-01-11 03:33 bingxingc 编辑
摘要:Spring使用的注解大全和解释 注解解释 @Controller 组合注解(组合了@Component注解),应用在MVC层(控制层),DispatcherServlet会自动扫描注解了此注解的类,然后将web请求映射到注解了@RequestMapping的方法上。 @Service 组合注解(组 阅读全文
posted @ 2022-01-04 18:55 bingxingc 编辑
摘要:beans的XML 配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文
posted @ 2022-01-04 17:42 bingxingc 编辑
摘要:颜色代码:C7EDCC 阅读全文
posted @ 2022-01-03 01:32 bingxingc 编辑
摘要:print("\033[H\033[2J") 阅读全文
posted @ 2022-01-02 23:47 bingxingc 编辑

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