- Use generics to create RPC call wrappers.
 - Demonstrate a basic JSON-RPC 2.0 client and server.
 - Editing regular expressions before compilation.
 - Transmitting a pointer via a byte buffer.
 - Composing functions with errors. Requires Go ≥ 1.18.
 - Example using the 
jtreelibrary. - Average of timestamps.
 - A basic sketch of an HTTP call with client and server.
 - Type constraints requiring an argument of the receiver's type.
 - Constructing pointers to type parameters.
 - Permuting Flags and Free Arguments.
 - Annotating methods of interest on a struct.
 - Generating enumeration types using 
enumgen. - Merging output from ordered channels.
 - Constructing edit scripts.
 - An interesting use of parameterized types.
 - Text diff examples:
 - Calculate Bloom filter size from parameters.
 - Make a custom error equivalent to a library error.
 - A silly "clever" trick to mutate an immutable receiver.
 - Example using the 
chirplibrary. - Adding work to a 
taskgroupwith a close signal 
          Last active
          October 2, 2025 06:16 
        
      - 
      
 - 
        
Save creachadair/c0293ded4ecd511ac7d9093336f51ca7 to your computer and use it in GitHub Desktop.  
    Go playground examples
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment