# litongjava-go-simple-http-server **Repository Path**: ppnt/litongjava-go-simple-http-server ## Basic Information - **Project Name**: litongjava-go-simple-http-server - **Description**: 一个简单的go服务器 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-17 - **Last Updated**: 2023-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # http-server 一个简单的go服务器 ## 构建 ```shell go build ``` ## 使用 新建一个html,任意内容 启动服务器 ```shell http-server --port 3000 ``` 默认端口是3000 访问3000端口显示如下 ![img.png](img.png)