MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / FromEntity

Function FromEntity

service/subscribe/model.go:35–45  ·  view source on GitHub ↗
(e *subscribe.Subscribe)

Source from the content-addressed store, hash-verified

33}
34
35func FromEntity(e *subscribe.Subscribe) *Subscribe {
36 return &Subscribe{
37 Id: e.UUID,
38 Service: e.Service,
39 ApplyStatus: e.ApplyStatus,
40 Application: e.Application,
41 Applier: e.Applier,
42 From: e.From,
43 CreateAt: e.CreateAt,
44 }
45}
46
47type CreateApply struct {
48 Uuid string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected