(index int, v interface{})
| 501 | } |
| 502 | |
| 503 | func AJsonFormat(index int, v interface{}) { |
| 504 | jsonBytes, err := json.Marshal(v) |
| 505 | if err != nil { |
| 506 | fmt.Println("json encode failed") |
| 507 | } |
| 508 | fmt.Printf("\t%v: %s\n", index, jsonBytes) |
| 509 | } |
| 510 | |
| 511 | func (a AgentSortedAcls) Len() int { |
| 512 | return len(a) |
no test coverage detected