sqs-browse: remove assumption regarding table keys
Table keys are now retrieved from describe
This commit is contained in:
parent
3428bd2a8a
commit
5a69e6c954
47 changed files with 150 additions and 98 deletions
|
|
@ -2,7 +2,8 @@ package uimodels
|
|||
|
||||
import "context"
|
||||
|
||||
type uiContextKeyType struct {}
|
||||
type uiContextKeyType struct{}
|
||||
|
||||
var uiContextKey = uiContextKeyType{}
|
||||
|
||||
func Ctx(ctx context.Context) UIContext {
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ type OperationFn func(ctx context.Context) error
|
|||
func (f OperationFn) Execute(ctx context.Context) error {
|
||||
return f(ctx)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ package uimodels
|
|||
|
||||
import "context"
|
||||
|
||||
type promptValueKeyType struct {}
|
||||
type promptValueKeyType struct{}
|
||||
|
||||
var promptValueKey = promptValueKeyType{}
|
||||
|
||||
func PromptValue(ctx context.Context) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue