blog-api

command module
v0.0.0-...-9c587e9 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

README

blog-api

编译程序应用

简单编译

go build

编译linux系统下的二进制文件

CG0_ENABLED=0 GOODS=linux go build -a -o blog-api .

部署应用

nginx.conf添加代理,例:

server {
       listen       80;
       server_name  blog-api.test;

       location / {
           proxy_pass http://127.0.0.1:8000/;
       }
   }

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