go-demo

command module
v0.0.0-...-c322e10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

README

Go Web 示例程序

项目介绍

本项目是一个简单的 Golang Web 应用示例,目录结构:

.
├── Godeps
│   ├── Godeps.json
│   ├── Readme
│   └── _workspace
├── hello
│   └── main.go
├── Procfile
├── README.md
└── static
    └── index.html

项目要求

项目的根目录下需要有 Godeps/Godeps.json 来指定 Golang 版本以及相关依赖,推荐使用 Godep 来管理项目依赖可以加快项目部署速度。同时还需要一个 Procfile 文件来指定应用的启动命令,对于 go 来说,这个命令就是可执行文件名。

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL