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

Function updateHandler

service/team/iml.go:76–85  ·  view source on GitHub ↗
(e *team.Team, i *EditTeam)

Source from the content-addressed store, hash-verified

74 }
75}
76func updateHandler(e *team.Team, i *EditTeam) {
77 if i.Name != nil {
78 e.Name = *i.Name
79 }
80 if i.Description != nil {
81 e.Description = *i.Description
82 }
83
84 e.UpdateAt = time.Now()
85}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected