mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 13:02:24 -05:00 
			
		
		
		
	* start fixing up tests * fix up tests + automate with drone * fiddle with linting * messing about with drone.yml * some more fiddling * hmmm * add cache * add vendor directory * verbose * ci updates * update some little things * update sig
		
			
				
	
	
		
			13 lines
		
	
	
		
			No EOL
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			No EOL
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package concurrent
 | |
| 
 | |
| import (
 | |
| 	"os"
 | |
| 	"log"
 | |
| 	"io/ioutil"
 | |
| )
 | |
| 
 | |
| // ErrorLogger is used to print out error, can be set to writer other than stderr
 | |
| var ErrorLogger = log.New(os.Stderr, "", 0)
 | |
| 
 | |
| // InfoLogger is used to print informational message, default to off
 | |
| var InfoLogger = log.New(ioutil.Discard, "", 0) |