hospital

package
v0.0.0-...-8e4f736 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HospitalDB

type HospitalDB map[string]HospitalInfo

全部医院信息(map[医院名]信息)

func LoadJsonFile

func LoadJsonFile(filename string) (HospitalDB, error)

读取Json文件

func ReadJsonFrom

func ReadJsonFrom(r io.Reader) (HospitalDB, error)

从输入流读取

type HospitalInfo

type HospitalInfo struct {
	Name      string   // 名字
	City      string   // 城市
	Keywords  []string // 关键字
	Addr      []string // 地址
	WebSite   []string // 网站
	WeiXin    []string // 微信
	WeiXinPub []string // 微信公众号
	Tel       []string // 电话
	Comment   []string // 注释
	Feedback  []string // 用户反馈
}

医院信息

Jump to

Keyboard shortcuts

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