Versions in this module Expand all Collapse all v0 v0.0.1 Dec 17, 2023 Changes in this version + func Component[C services.Component](ctx context.Context, name string) (component C, has bool) + func Service() (v services.Service) + type Comment struct + Content string + CreateAT time.Time + Id int64 + PostId string + UserId string + type ListParam struct + Length int + Offset int + UserId string + type Post struct + Comments []Comment + Content string + CreateAT time.Time + Id string + Likes int64 + Title string + UserId string + type Posts []Post + func List(ctx context.Context, param ListParam) (result Posts, err error)