Top 10 this Month
- 
                
  
    
    
  Accurate handler tests using httptest
 - 
                
  
    
    
  Sets in Go
 - 
                
  
    
    
  Benchmarks and performance testing
 - 
                
  
    
    
  URL path parameters in routes
 - 
                
  
    
    
  How to parse a time or date in Go
 - 
                
  
    
    
  Change JSON time format
 - 
                
  
    
    
  Anonymous structs in Go: What, How and When
 - 
                
  
    
    
  Confused by http.HandlerFunc? This post makes it click
 - 
                
  
    
    
  Context cancellation: Stop wasting resources on aborted requests
 - 
                
  
    
    
  Composable HTTP Handlers using generics
 
The Rest
- 
                
  
    
    
  Comparing times and dates in Go
 - 
                
  
    
    
  Add value to a context in a type safe way
 - 
                
  
    
    
  Time and Location explained
 - 
                
  
    
    
  Should you use slices of pointers to structs?
 - 
                
  
    
    
  time.Now() and the Monotonic Clock in Go
 - 
                
  
    
    
  String interpolation in Go
 - 
                
  
    
    
  Should you use pointers to slices in Go?
 - 
                
  
    
    
  Maps of functions
 - 
                
  
    
    
  Prevent sensitive data from leaking
 - 
                
  
    
    
  Go web application example project
 - 
                
  
    
    
  Should you store *that value* in a Go context?
 - 
                
  
    
    
  Choosing between context.Background() and context.TODO()
 - 
                
  
    
    
  Devlog I: Foundations
 - 
                
  
    
    
  Build your own slice: Append and Copy
 - 
                
  
    
    
  Dealing with large structs in tests
 - 
                
  
    
    
  Build your own slice: Make, Literals and Re-slicing
 - 
                
  
    
    
  Build your own slice: Arrays and slices
 
      
      
    Get my free newsletter periodically*
Used by 500+ developers to boost their Go skills.
*working on a big project as of 2025, will get back to posting on the regular schedule once time allows.
      Willem Schots