MCPcopy Create free account
hub / github.com/rilldata/rill / toOrgRow

Function toOrgRow

cli/pkg/printer/resources.go:43–48  ·  view source on GitHub ↗
(o *adminv1.Organization)

Source from the content-addressed store, hash-verified

41}
42
43func toOrgRow(o *adminv1.Organization) *organization {
44 return &organization{
45 Name: o.Name,
46 CreatedAt: o.CreatedOn.AsTime().Local().Format(time.DateTime),
47 }
48}
49
50type organization struct {
51 Name string `header:"name" json:"name"`

Callers 1

toOrgsTableFunction · 0.85

Calls 1

FormatMethod · 0.65

Tested by

no test coverage detected