docs(app): add package comments for app module

- Add package documentation for app, app_common, import, app_windows, and testutil files
- Include author attribution (xfy)
This commit is contained in:
xfy911 2026-06-03 15:28:53 +08:00
parent 63ce8ecd2a
commit 57d4d3ba3c
5 changed files with 25 additions and 0 deletions

View File

@ -1,5 +1,10 @@
//go:build !windows
// Package app 提供 Lolly 应用程序的生命周期管理和命令行入口。
//
// 包含应用生命周期管理和命令行入口相关的逻辑。
//
// 作者xfy
package app
import (

View File

@ -1,3 +1,8 @@
// Package app 提供 Lolly 应用程序的生命周期管理和命令行入口。
//
// 包含应用通用逻辑相关的工具函数。
//
// 作者xfy
package app
import (

View File

@ -2,6 +2,11 @@
// Windows lacks POSIX signals (SIGUSR1, SIGUSR2, SIGHUP, SIGQUIT);
// this file provides stub implementations for those Unix-specific signals.
// Package app 提供 Lolly 应用程序的生命周期管理和命令行入口。
//
// 包含 Windows 平台特定的应用逻辑。
//
// 作者xfy
package app
import (

View File

@ -1,3 +1,8 @@
// Package app 提供 Lolly 应用程序的生命周期管理和命令行入口。
//
// 包含配置导入相关的逻辑,用于导入 nginx 配置等外部配置。
//
// 作者xfy
package app
import (

View File

@ -1,5 +1,10 @@
//go:build !windows
// Package app 提供 Lolly 应用程序的生命周期管理和命令行入口。
//
// 包含测试工具函数,用于测试场景。
//
// 作者xfy
package app
import (