json

command
v0.0.0-...-201b726 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 5 Imported by: 0

README

json

基于gin的一个简单的API。 读取目录下的json文件的内容,返回JSON到请求端。

运行编译出来的exe文件即可启动,端口为9015。

JSON文件

JSON文件名 内容
object.json 单个JSON对象
array.json JSON数组

URL:

URL 描述
http://localhost:9015/object 返回单个JSON对象
http://localhost:9015/array 返回JSON数组

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