SYMBOL INDEX (138 symbols across 27 files) FILE: dreamgo.sql type `article` (line 25) | CREATE TABLE `article` ( type `article_tag` (line 51) | CREATE TABLE `article_tag` ( type `db_version` (line 76) | CREATE TABLE `db_version` ( type `friend_link` (line 98) | CREATE TABLE `friend_link` ( type `tag` (line 124) | CREATE TABLE `tag` ( FILE: src/config/config.go function Parse (line 17) | func Parse(configFile string) { FILE: src/datasource/ds.go constant TypeGit (line 23) | TypeGit = "git" constant TypeMysql (line 24) | TypeMysql = "mysql" type DataSourcer (line 28) | type DataSourcer interface function Init (line 44) | func Init() { function replaceCodeParts (line 60) | func replaceCodeParts(htmlFile []byte) (string, error) { FILE: src/datasource/github_repo.go constant PostDir (line 32) | PostDir = "data/post/" constant IndexFile (line 35) | IndexFile = "index.yaml" constant ArchiveFile (line 37) | ArchiveFile = "archive.yaml" constant TagsFile (line 39) | TagsFile = "tags.yaml" constant FriendFile (line 41) | FriendFile = "friends.yaml" type GithubRepo (line 45) | type GithubRepo struct method PostList (line 53) | func (self GithubRepo) PostList() []*model.Post { method PostArchive (line 68) | func (self GithubRepo) PostArchive() []*model.YearArchive { method ServeMarkdown (line 83) | func (self GithubRepo) ServeMarkdown(w http.ResponseWriter, r *http.Re... method FindPost (line 90) | func (self GithubRepo) FindPost(path string) (*model.Post, error) { method Pull (line 102) | func (self GithubRepo) Pull(gitRepoDir string) error { method GenIndexYaml (line 118) | func (self GithubRepo) GenIndexYaml() { method GenArchiveYaml (line 137) | func (self GithubRepo) GenArchiveYaml() { method GenTagsYaml (line 199) | func (self GithubRepo) GenTagsYaml() { method fetchPosts (line 238) | func (self GithubRepo) fetchPosts() []*model.Post { method genOnePost (line 278) | func (self GithubRepo) genOnePost(postDir, path string) (*model.Post, ... method parsePubTime (line 316) | func (self GithubRepo) parsePubTime(pubTime string) time.Time { method TagList (line 338) | func (self GithubRepo) TagList() []*model.Tag { method FindTag (line 353) | func (self GithubRepo) FindTag(tagName string) *model.Tag { method AboutPost (line 364) | func (self GithubRepo) AboutPost() (*model.Post, error) { method UpdateDataSource (line 381) | func (self GithubRepo) UpdateDataSource() { method cloneRepo (line 417) | func (self GithubRepo) cloneRepo(gitRepoDir string) { method GetFriends (line 431) | func (self GithubRepo) GetFriends() ([]*model.Friend, error) { function NewGithub (line 48) | func NewGithub() *GithubRepo { FILE: src/datasource/github_repo_test.go function setup (line 21) | func setup() { function TestGenIndexYaml (line 28) | func TestGenIndexYaml(t *testing.T) { function TestGenArchiveYaml (line 34) | func TestGenArchiveYaml(t *testing.T) { function TestGenTagsYaml (line 40) | func TestGenTagsYaml(t *testing.T) { FILE: src/datasource/mongodb.go type MongoDB (line 17) | type MongoDB struct method sessionclone (line 43) | func (self *MongoDB) sessionclone() *mgo.Session { method PostList (line 61) | func (self MongoDB) PostList() []*model.Post { method PostArchive (line 77) | func (self MongoDB) PostArchive() []*model.YearArchive { method ServeMarkdown (line 141) | func (self MongoDB) ServeMarkdown(w http.ResponseWriter, r *http.Reque... method FindPost (line 147) | func (self MongoDB) FindPost(path string) (*model.Post, error) { method TagList (line 164) | func (self MongoDB) TagList() []*model.Tag { method FindTag (line 206) | func (self MongoDB) FindTag(tagName string) *model.Tag { method AboutPost (line 217) | func (self MongoDB) AboutPost() (*model.Post, error) { method UpdateDataSource (line 227) | func (self MongoDB) UpdateDataSource() { method GetFriends (line 231) | func (self MongoDB) GetFriends() ([]*model.Friend, error) { function NewMongoDB (line 24) | func NewMongoDB() *MongoDB { FILE: src/datasource/mysql_repo.go type MysqlRepo (line 25) | type MysqlRepo struct method PostList (line 83) | func (self *MysqlRepo) PostList() []*model.Post { method PostArchive (line 98) | func (self *MysqlRepo) PostArchive() []*model.YearArchive { method ServeMarkdown (line 113) | func (self *MysqlRepo) ServeMarkdown(w http.ResponseWriter, r *http.Re... method FindPost (line 118) | func (self *MysqlRepo) FindPost(path string) (*model.Post, error) { method TagList (line 151) | func (self *MysqlRepo) TagList() []*model.Tag { method FindTag (line 166) | func (self *MysqlRepo) FindTag(tagName string) *model.Tag { method AboutPost (line 177) | func (self *MysqlRepo) AboutPost() (*model.Post, error) { method GenIndexYaml (line 194) | func (self *MysqlRepo) GenIndexYaml() { method parsePubTime (line 220) | func (self *MysqlRepo) parsePubTime(pubTime int64) string { method GenArchiveYaml (line 226) | func (self *MysqlRepo) GenArchiveYaml() { method GenTagsYaml (line 296) | func (self *MysqlRepo) GenTagsYaml() { method genOnePost (line 346) | func (self *MysqlRepo) genOnePost(info articleInfo) *model.Post { method GenFriendsYaml (line 359) | func (self *MysqlRepo) GenFriendsYaml() { method UpdateDataSource (line 384) | func (self *MysqlRepo) UpdateDataSource() { method GetFriends (line 410) | func (self *MysqlRepo) GetFriends() ([]*model.Friend, error) { type articleInfo (line 36) | type articleInfo struct type tagInfo (line 43) | type tagInfo struct type friendInfo (line 48) | type friendInfo struct function NewMysql (line 56) | func NewMysql(dbParams string) *MysqlRepo { function prepare (line 74) | func prepare(db *sql.DB, sql string) *sql.Stmt { FILE: src/datasource/mysql_repo_test.go function Init (line 13) | func Init() { function TestGenMysqlIndexYaml (line 20) | func TestGenMysqlIndexYaml(t *testing.T) { function TestGenMysqlArchiveYaml (line 26) | func TestGenMysqlArchiveYaml(t *testing.T) { function TestGenMysqlTagsYaml (line 32) | func TestGenMysqlTagsYaml(t *testing.T) { FILE: src/dreamgo/main.go function init (line 26) | func init() { function main (line 32) | func main() { FILE: src/global/app.go type app (line 24) | type app struct method InitPath (line 74) | func (this *app) InitPath() { method Uptime (line 81) | func (this *app) Uptime() time.Duration { method setProjectRoot (line 87) | func (this *app) setProjectRoot() { method SetTemplateDir (line 106) | func (this *app) SetTemplateDir(theme string) { function init (line 48) | func init() { function PrintVersion (line 111) | func PrintVersion(w io.Writer) { FILE: src/http/controller/about.go type AboutController (line 17) | type AboutController struct method RegisterRoutes (line 19) | func (self AboutController) RegisterRoutes() { method Detail (line 23) | func (AboutController) Detail(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/archive.go type ArchiveController (line 16) | type ArchiveController struct method RegisterRoute (line 19) | func (self ArchiveController) RegisterRoute() { method List (line 24) | func (ArchiveController) List(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/friends.go type FriendsController (line 11) | type FriendsController struct method RegisterRoutes (line 13) | func (self FriendsController) RegisterRoutes() { method Detail (line 17) | func (FriendsController) Detail(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/index.go type IndexController (line 23) | type IndexController struct method RegisterRoute (line 26) | func (self IndexController) RegisterRoute() { method Home (line 31) | func (IndexController) Home(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/post.go type PostController (line 20) | type PostController struct method RegisterRoute (line 23) | func (self PostController) RegisterRoute() { method Detail (line 28) | func (PostController) Detail(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/routes.go function RegisterRoutes (line 10) | func RegisterRoutes() { FILE: src/http/controller/static.go type StaticController (line 11) | type StaticController struct method RegisterRoutes (line 13) | func (self StaticController) RegisterRoutes() { method Default (line 18) | func (StaticController) Default(w http.ResponseWriter, r *http.Request) { FILE: src/http/controller/tag.go type TagController (line 19) | type TagController struct method RegisterRoute (line 22) | func (self TagController) RegisterRoute() { method Detail (line 28) | func (TagController) Detail(w http.ResponseWriter, r *http.Request) { method List (line 46) | func (TagController) List(w http.ResponseWriter, r *http.Request) { FILE: src/logger/log.go function Instance (line 19) | func Instance() *zap.Logger { function Init (line 24) | func Init(srvName string) *zap.Logger { function NewLogger (line 30) | func NewLogger(srvName string) *zap.Logger { function newRollingFile (line 88) | func newRollingFile(directory string) zapcore.WriteSyncer { function newZapLogger (line 103) | func newZapLogger(isProduction bool, output zapcore.WriteSyncer) (*zap.L... type lumberjackWriteSyncer (line 133) | type lumberjackWriteSyncer struct method run (line 153) | func (l *lumberjackWriteSyncer) run() { method Stop (line 176) | func (l *lumberjackWriteSyncer) Stop() { method Write (line 180) | func (l *lumberjackWriteSyncer) Write(bs []byte) (int, error) { method Sync (line 189) | func (l *lumberjackWriteSyncer) Sync() error { method sync (line 193) | func (l *lumberjackWriteSyncer) sync() error { function newLumberjackWriteSyncer (line 141) | func newLumberjackWriteSyncer(l *lumberjack.Logger) *lumberjackWriteSync... FILE: src/model/archive.go type YearArchive (line 10) | type YearArchive struct type MonthArchive (line 16) | type MonthArchive struct FILE: src/model/friend.go type Friend (line 3) | type Friend struct FILE: src/model/post.go type Post (line 12) | type Post struct type Meta (line 17) | type Meta struct FILE: src/model/tag.go type Tag (line 9) | type Tag struct FILE: src/route/mux.go function HandleFunc (line 15) | func HandleFunc(pattern string, handler func(http.ResponseWriter, *http.... type BlogMux (line 20) | type BlogMux struct method ServeHTTP (line 32) | func (this *BlogMux) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewBlogMux (line 27) | func NewBlogMux() *BlogMux { FILE: src/util/file.go function Exist (line 16) | func Exist(filename string) bool { function ScanDir (line 23) | func ScanDir(directory string) []string { function IsDir (line 37) | func IsDir(filename string) bool { function IsFile (line 43) | func IsFile(filename string) bool { function Filename (line 48) | func Filename(file string) string { function isFileOrDir (line 58) | func isFileOrDir(filename string, decideDir bool) bool { FILE: src/util/util.go function Contain (line 9) | func Contain(obj interface{}, target interface{}) (bool, error) { FILE: src/view/template.go function Render (line 29) | func Render(w http.ResponseWriter, r *http.Request, htmlFile string, dat...