# GoWebServer **Repository Path**: imdebuging/GoWebServer ## Basic Information - **Project Name**: GoWebServer - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-31 - **Last Updated**: 2023-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GoWebServer ## 介绍 本人是go语言的初学者,目前刚把基础语法过完开始做项目,跟着油管老哥的视频敲了一个简单的WebServer,原视频链接:https://www.youtube.com/watch?v=jFfo23yIWac&list=PLnEe1TGPlkVYA-yUrRjbSXG55ZxX4PGH9&index=13&t=1240s ## 使用说明 * 用vscode打开文件夹,命令行里输入"go run main.go"运行主程序 * 打开浏览器,输入链接"localhost:8080",(如果操作正确,此时能看到Static WebPage字样) * 继续测试hello页面,输入链接"localhost:8080/hello",如果正确,此时能在页面上顶部看到"hello!"的一行小字 * 最后测试form页面,输入链接"localhost:8080/form.html",根据提示输入姓名Name和地址Address,并点击右侧commit按钮