14 lines
563 B
Go
14 lines
563 B
Go
package arrays
|
|
|
|
import "context"
|
|
|
|
func (s *Logic) Strings(context.Context) ([]string, error) { return []string{"企业", "备注"}, nil }
|
|
func (s *Logic) Integers(context.Context) ([]int64, error) {
|
|
return []int64{9223372036854775807, -3}, nil
|
|
}
|
|
func (s *Logic) Dynamic(context.Context) ([]any, error) {
|
|
return []any{"text", 7, true, nil, map[string]any{"name": "企业"}, []any{false, 2}}, nil
|
|
}
|
|
func (s *Logic) Empty(context.Context) ([]any, error) { return nil, nil }
|
|
func (s *Logic) Raw(context.Context) ([]bool, error) { return []bool{true, false}, nil }
|