Discover Packages 
           
        
          
            golang.org/x/tools 
           
        
        
          
            playground
           
          
            
               
          
        
       
     
   
  
    
  
    
       
    
    
      package 
    
    
      
        
           
      
    
   
    
      
  
    
      
  
    
      Version:  
        v0.6.0
     
    
      Opens a new window with list of versions in this module.
    
    
    
   
      
  
    Published: Feb  8, 2023
   
      
  
    License: BSD-3-Clause 
      
    
   
  
    Opens a new window with license information.
  
      
        
  
    
      Imports:  7
     
   
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by:  136
     
   
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
 
    
      
    
    
  
  
    
      
        
          Documentation 
        
       
     
  
 
    
  
    
      
      
        
          
  
    
      ¶ 
     
    
  
    
  
    
      
        
 
    
Package playground registers an HTTP handler at "/compile" that
proxies requests to the golang.org playground service.
This package may be used unaltered on App Engine Standard with Go 1.11+ runtime.
 
  
  
  
  
  
	  
  
  
    
    
    
  Proxy returns a handler that can be registered on /compile to proxy requests to the Go playground.
This package already contains a func init that does:
func init() {
	http.Handle("/compile", Proxy())
}
 Proxy may be useful for servers that use HTTP muxes other than the default mux.
  
           
      
     
   
        
      
      
        
  
    
      ¶ 
     
   
      
      
        
  
    
      ¶ 
     
    
    
      
      
          
  
  
    
      
        
          Package socket implements an WebSocket-based playground backend.
         
       
      Package socket implements an WebSocket-based playground backend.  
      
    
   
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.