Use pointer instead of struct
This commit is contained in:
parent
853477e54a
commit
6d8f38d749
18 changed files with 187 additions and 142 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue