Little refactoring

This commit is contained in:
2023-04-01 01:03:38 +02:00
parent b5b293329e
commit c20faaecb3
4 changed files with 67 additions and 88 deletions

View File

@@ -26,7 +26,7 @@ func NewAuth() *Auth {
return &Auth{}
}
func (this *Auth) JSON() []byte {
func (this *Auth) Json() []byte {
jBytes, _ := json.Marshal(this)
return jBytes
}