GetClient gets the client for the setting client
()
| 45 | |
| 46 | // GetClient gets the client for the setting client |
| 47 | func (c *settingClient) GetClient() *ent.Client { |
| 48 | return c.client |
| 49 | } |
| 50 | |
| 51 | func (c *settingClient) Get(ctx context.Context, name string) (string, error) { |
| 52 | s, err := c.client.Setting.Query().Where(setting.Name(name)).Only(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected