format client.go