Use pointer instead of struct

This commit is contained in:
nemunaire 2021-03-07 12:39:38 +01:00
commit 6d8f38d749
18 changed files with 187 additions and 142 deletions

View file

@ -167,7 +167,7 @@ func check_https(domain, ip string) (err error) {
// Main
func minTunnelVersion(std adlin.Student, suffixip int) (int, error) {
func minTunnelVersion(std *adlin.Student, suffixip int) (int, error) {
tunnels, err := std.GetTunnelTokens()
if err != nil {
return 0, err