Uploading some snippets I created to help me better understand concurrency in general and specifically concurrency in golang.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs ? import <nixpkgs> {}, ... }:
 | |
| 
 | |
| pkgs.mkShell {
 | |
|   buildInputs = [
 | |
|     pkgs.go
 | |
|     pkgs.goimports
 | |
|     pkgs.godef
 | |
|   ];
 | |
| }
 |