use type alias for address attributes #358
lint.yaml
on: pull_request
  
      lint 
      /
     Metadata
          
              19s
          
      
      lint 
      /
     Go
          
              26s
          
      Annotations
10 errors and 1 warning
          | 
                      
                          lint / Go: 
                        cmd/stun-bench/main.go#L35
                      
                       undefined: stun (typecheck) | 
| 
                      
                          lint / Go: 
                        addr.go#L158
                      
                       method MappedAddress.String already declared at ./addr.go:53:24) (typecheck) | 
| 
                      
                          lint / Go: 
                        addr.go#L152
                      
                       method MappedAddress.GetFrom already declared at ./addr.go:47:27 | 
| 
                      
                          lint / Go: 
                        addr.go#L145
                      
                       method MappedAddress.AddTo already declared at ./addr.go:40:27 | 
| 
                      
                          lint / Go: 
                        addr.go#L140
                      
                       method MappedAddress.String already declared at ./addr.go:53:24 | 
| 
                      
                          lint / Go: 
                        addr.go#L134
                      
                       method MappedAddress.GetFrom already declared at ./addr.go:47:27 | 
| 
                      
                          lint / Go: 
                        addr.go#L127
                      
                       method MappedAddress.AddTo already declared at ./addr.go:40:27 | 
| 
                      
                          lint / Go: 
                        addr.go#L122
                      
                       method MappedAddress.GetFrom already declared at ./addr.go:47:27 | 
| 
                      
                          lint / Go: 
                        addr.go#L117
                      
                       method MappedAddress.AddTo already declared at ./addr.go:40:27 | 
| 
                      
                          lint / Go: 
                        cmd/stun-bench/main.go#L21
                      
                       could not import github.com/pion/stun/v3 (-: # github.com/pion/stun/v3 | 
| 
                      
                          lint / Go
                        
                      
                       Restore cache failed: Dependencies file is not found in /home/runner/work/stun/stun. Supported file pattern: go.sum |