(gid uint32)
| 71 | } |
| 72 | |
| 73 | func GetGroup(gid uint32) string { |
| 74 | usr, err := user.LookupGroupId(strconv.Itoa(int(gid))) |
| 75 | if err != nil { |
| 76 | return "" |
| 77 | } |
| 78 | return usr.Name |
| 79 | } |
| 80 | |
| 81 | const dotCharacter = 46 |
| 82 |
no outgoing calls
no test coverage detected