Adding initial scaffolding to rename the repository
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
c7472582a7
commit
0f880ac1fa
46 changed files with 5707 additions and 674 deletions
13
internal/api/parse.go
Normal file
13
internal/api/parse.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package api
|
||||
|
||||
import "strconv"
|
||||
|
||||
func ParseUint(s string) uint {
|
||||
result, err := strconv.ParseUint(s, 10, 32)
|
||||
|
||||
if err != nil {
|
||||
log.Warnf("api: %s", err)
|
||||
}
|
||||
|
||||
return uint(result)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue