Refactor and comment
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user