删除了部分文件
This commit is contained in:
		@@ -1,16 +1,9 @@
 | 
			
		||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
 | 
			
		||||
// README at: https://github.com/devcontainers/templates/tree/main/src/go
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
	"name": "Go",
 | 
			
		||||
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
 | 
			
		||||
	"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm",
 | 
			
		||||
	"image": "mcr.microsoft.com/devcontainers/go:1.24-bookworm",
 | 
			
		||||
 | 
			
		||||
	// Features to add to the dev container. More info: https://containers.dev/features.
 | 
			
		||||
	// "features": {},
 | 
			
		||||
 | 
			
		||||
	// Configure tool-specific properties.
 | 
			
		||||
	"customizations": {
 | 
			
		||||
		// Configure properties specific to VS Code.
 | 
			
		||||
		"vscode": {
 | 
			
		||||
			"settings": {},
 | 
			
		||||
			"extensions": [
 | 
			
		||||
@@ -19,11 +12,6 @@
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// Use 'forwardPorts' to make a list of ports inside the container available locally.
 | 
			
		||||
	// "forwardPorts": [9000],
 | 
			
		||||
 | 
			
		||||
	// Use 'portsAttributes' to set default properties for specific forwarded ports. 
 | 
			
		||||
	// More info: https://containers.dev/implementors/json_reference/#port-attributes
 | 
			
		||||
	"portsAttributes": {
 | 
			
		||||
		"9000": {
 | 
			
		||||
			"label": "Hello Remote World",
 | 
			
		||||
@@ -31,10 +19,6 @@
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
	
 | 
			
		||||
	"postCreateCommand": "go run server.go"
 | 
			
		||||
	// Use 'postCreateCommand' to run commands after the container is created.
 | 
			
		||||
	// "postCreateCommand": "go version",
 | 
			
		||||
 | 
			
		||||
	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
 | 
			
		||||
	// "remoteUser": "root"
 | 
			
		||||
	"postAttachCommand": "go run server.go"
 | 
			
		||||
	
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +0,0 @@
 | 
			
		||||
# Microsoft Open Source Code of Conduct
 | 
			
		||||
 | 
			
		||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
 | 
			
		||||
 | 
			
		||||
Resources:
 | 
			
		||||
 | 
			
		||||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
 | 
			
		||||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
 | 
			
		||||
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
 | 
			
		||||
							
								
								
									
										41
									
								
								SECURITY.md
									
									
									
									
									
								
							
							
						
						
									
										41
									
								
								SECURITY.md
									
									
									
									
									
								
							@@ -1,41 +0,0 @@
 | 
			
		||||
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
 | 
			
		||||
 | 
			
		||||
## Security
 | 
			
		||||
 | 
			
		||||
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
 | 
			
		||||
 | 
			
		||||
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
 | 
			
		||||
 | 
			
		||||
## Reporting Security Issues
 | 
			
		||||
 | 
			
		||||
**Please do not report security vulnerabilities through public GitHub issues.**
 | 
			
		||||
 | 
			
		||||
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
 | 
			
		||||
 | 
			
		||||
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com).  If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
 | 
			
		||||
 | 
			
		||||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). 
 | 
			
		||||
 | 
			
		||||
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
 | 
			
		||||
 | 
			
		||||
  * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
 | 
			
		||||
  * Full paths of source file(s) related to the manifestation of the issue
 | 
			
		||||
  * The location of the affected source code (tag/branch/commit or direct URL)
 | 
			
		||||
  * Any special configuration required to reproduce the issue
 | 
			
		||||
  * Step-by-step instructions to reproduce the issue
 | 
			
		||||
  * Proof-of-concept or exploit code (if possible)
 | 
			
		||||
  * Impact of the issue, including how an attacker might exploit the issue
 | 
			
		||||
 | 
			
		||||
This information will help us triage your report more quickly.
 | 
			
		||||
 | 
			
		||||
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
 | 
			
		||||
 | 
			
		||||
## Preferred Languages
 | 
			
		||||
 | 
			
		||||
We prefer all communications to be in English.
 | 
			
		||||
 | 
			
		||||
## Policy
 | 
			
		||||
 | 
			
		||||
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
 | 
			
		||||
 | 
			
		||||
<!-- END MICROSOFT SECURITY.MD BLOCK -->
 | 
			
		||||
@@ -1,7 +1,3 @@
 | 
			
		||||
/*----------------------------------------------------------------------------------------
 | 
			
		||||
 * Copyright (c) Microsoft Corporation. All rights reserved.
 | 
			
		||||
 * Licensed under the MIT License. See LICENSE in the project root for license information.
 | 
			
		||||
 *---------------------------------------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user