feat(userapp): 初始化用户管理系统项目

- 创建 go.mod 文件配置模块
- 添加 README.md 项目说明文档
- 创建 main.go 入口文件实现基础功能
- 配置 Go 语言版本为 1.25.6
```
This commit is contained in:
yumaojun03 2026-03-01 10:37:03 +08:00
parent 9ac394294a
commit 648f178f8d
4 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,3 @@
module userapp
go 1.25.6

16
day06/userapp/README.md Normal file
View File

@ -0,0 +1,16 @@
# 用户管理系统
## 初始化项目工程
初始化项目工程(用户管理系统)
```go
cd day06/userapp
go mod init userapp
go: creating new go.mod: module userapp
```
go.mod 会通过 go mod init 创建, 创建之后, go mod tidy 会自动添加依赖包
为我们的工程 添加入口文件(main.go)

3
day06/userapp/go.mod Normal file
View File

@ -0,0 +1,3 @@
module userapp
go 1.25.6

7
day06/userapp/main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("hello user app")
}