emb

package module
v0.0.0-...-4de7cad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

README

KernyrMind

一个Pixso白板的开源平替


翻译状态

Go Gin

Vue.js TypeScript Vite


启动方式

生成前端资源

cd web
pnpm build

编译并启动后端

cd ..
go run cmd/server/main.go
生成Swagger文档

先安装CLI工具

go install github.com/swaggo/swag/cmd/swag@latest

重新生成文档

swag init -g cmd/server/main.go

项目已嵌入Swagger路由, 直接打开localhost:8080/swagger/index.html即可访问(注意: 仅在调试模式并且需要配置port=8080)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistDirFS

func DistDirFS() http.FileSystem

DistDirFS 返回构建好的前端静态资源文件系统

Types

This section is empty.

Directories

Path Synopsis
cmd
server command
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
dto
handler
集中实例化并注册路由
集中实例化并注册路由

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL