摘要: Domain-driven (DDD) is a business-oriented modeling method or architecture method. Traditional data drivers are generally MVC architecture, which is a 阅读全文
posted @ 2023-11-07 18:53 PEAR2020 阅读(22) 评论(0) 推荐(0)
摘要: 1. 为什么有错误? 必须先处理err再defer file.close() func main() { file, err := os.Open("test.go") defer func() { err := file.Close() if err != nil { fmt.Println("c 阅读全文
posted @ 2023-11-07 14:55 PEAR2020 阅读(149) 评论(0) 推荐(0)