Пример #1
0
func (cmd GetLayout) Run() gribble.Value {
	return syncRun(func() gribble.Value {
		var w workspace.Workspacer = nil
		withWorkspace(cmd.Workspace, func(wrk *workspace.Workspace) {
			w = wrk
		})
		if w == nil {
			return ""
		}
		return w.LayoutName()
	})
}