implement api

This commit is contained in:
2024-08-21 08:20:51 -05:00
parent 603936b50c
commit 6a56b2300a
18 changed files with 505 additions and 124 deletions

View File

@@ -1,8 +1,8 @@
package models
type KeypadSize struct {
AttrsPerKey int
NumbOfKeys int
AttrsPerKey int `json:"attrs_per_key"`
NumbOfKeys int `json:"numb_of_keys"`
}
func (kp *KeypadSize) TotalAttrs() int {