Add String() function
This commit is contained in:
		
							parent
							
								
									5d10dd64f6
								
							
						
					
					
						commit
						3e3979ddc6
					
				
							
								
								
									
										5
									
								
								ftp.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								ftp.go
									
									
									
									
									
								
							@ -810,3 +810,8 @@ func (r *Response) Close() error {
 | 
				
			|||||||
func (r *Response) SetDeadline(t time.Time) error {
 | 
					func (r *Response) SetDeadline(t time.Time) error {
 | 
				
			||||||
	return r.conn.SetDeadline(t)
 | 
						return r.conn.SetDeadline(t)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// String returns the string representation of EntryType t.
 | 
				
			||||||
 | 
					func (t EntryType) String() string {
 | 
				
			||||||
 | 
						return [...]string{"file", "folder", "link"}[t]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user