Files
arenax-server/internal/controller/hello/hello_v1_hello.go
2025-05-27 11:37:13 +08:00

14 lines
261 B
Go

package hello
import (
"context"
"github.com/gogf/gf/v2/frame/g"
"server/api/hello/v1"
)
func (c *ControllerV1) Hello(ctx context.Context, req *v1.HelloReq) (res *v1.HelloRes, err error) {
g.RequestFromCtx(ctx).Response.Writeln("Hello World!")
return
}