官术网_书友最值得收藏!

Introduction

Quite often, we would like to create HTML forms to get the information from a client in a specified format, upload files or folders to the server, and generate generic HTML templates, rather than repeating the same static text. With the knowledge of the concepts covered in this chapter, we will be able to implement all these functionalities efficiently in Go.

In this chapter, we will start with creating a basic template and then move on to serve static files, such as .js, .css, and images from a filesystem, and eventually create, read, and validate HTML forms and upload a file to the server.

主站蜘蛛池模板: 肥东县| 东光县| 商城县| 双鸭山市| 新安县| 元阳县| 五莲县| 广西| 合江县| 辰溪县| 阿图什市| 韶山市| 田阳县| 济源市| 霞浦县| 于都县| 吉林省| 读书| 花莲县| 安西县| 宁津县| 胶南市| 抚松县| 韩城市| 镇雄县| 安达市| 珠海市| 康保县| 婺源县| 闵行区| 当阳市| 西峡县| 政和县| 宜良县| 庆云县| 金沙县| 清水河县| 秀山| 诸城市| 阆中市| 堆龙德庆县|