mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Comments on functions
This commit is contained in:
parent
ddc2e9669a
commit
88155c1183
@ -56,6 +56,8 @@ func (widget *Widget) format(ticket Ticket) string {
|
|||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this is a nasty means of extracting the actual name of the requester from the Via interface of the Ticket.
|
||||||
|
// very very open to improvements on this
|
||||||
func (widget *Widget) parseRequester(ticket Ticket) interface{} {
|
func (widget *Widget) parseRequester(ticket Ticket) interface{} {
|
||||||
viaMap := ticket.Via
|
viaMap := ticket.Via
|
||||||
via := viaMap.(map[string]interface{})
|
via := viaMap.(map[string]interface{})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user