2
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@@ -6,7 +6,7 @@
 | 
				
			|||||||
            "type": "go",
 | 
					            "type": "go",
 | 
				
			||||||
            "request": "launch",
 | 
					            "request": "launch",
 | 
				
			||||||
            "mode": "debug",
 | 
					            "mode": "debug",
 | 
				
			||||||
            "program": "${workspaceFolder}/src/main/server.go"
 | 
					            "program": "${workspaceFolder}/server.go"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
							
								
								
									
										3
									
								
								go.mod
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								go.mod
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					module github.com/microsoft/vscode-remote-try-go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go 1.14
 | 
				
			||||||
@@ -1,7 +1,5 @@
 | 
				
			|||||||
package hello
 | 
					package hello
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import ()
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// User user type
 | 
					// User user type
 | 
				
			||||||
type User struct {
 | 
					type User struct {
 | 
				
			||||||
	ID   int64
 | 
						ID   int64
 | 
				
			||||||
@@ -7,9 +7,10 @@ package main
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"hello"
 | 
					 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						"github.com/microsoft/vscode-remote-try-go/hello"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func handle(w http.ResponseWriter, r *http.Request) {
 | 
					func handle(w http.ResponseWriter, r *http.Request) {
 | 
				
			||||||
		Reference in New Issue
	
	Block a user