(slug string)
| 124 | } |
| 125 | |
| 126 | func (s *Store) GetWorkspaceBySlug(slug string) (*models.Workspace, error) { |
| 127 | return s.getWorkspaceBySlugQ(s.db, slug) |
| 128 | } |
| 129 | |
| 130 | // getWorkspaceBySlugQ is GetWorkspaceBySlug against a caller-supplied |
| 131 | // executor, for callers already inside a transaction (BUG-2778: a pool read |