Refactor and comment

This commit is contained in:
ycc
2023-11-08 21:52:09 +01:00
parent 08ff9d58b8
commit 04a390d558
11 changed files with 271 additions and 294 deletions

View File

@ -17,8 +17,8 @@ import (
"google.golang.org/protobuf/proto"
)
func ServerFromUrl(url string) *Server {
var s Server
func ServerFromUrl(url string) *ServerCard {
var s ServerCard
s.Url = url
return &s
}