Files
ensemble/helpers/identity/group.go
T
2026-03-13 21:56:45 +05:30

14 lines
272 B
Go

package main
import "fmt"
func group(m interface{}) error {
data, ok := m.(map[string]interface{})
if !ok {
return fmt.Errorf("expected map[string]interface{}, got %T", m)
}
fmt.Printf("[GROUP] name : %s - state: %s\n", data["name"], data["state"])
return nil
}