models

package
v0.0.0-...-aa0122b Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2014 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Feed = &feeds.Feed{
	Title:       "Golang 中国博客",
	Link:        &feeds.Link{Href: "http://blog.go-china.org"},
	Description: "Golang 中国博客",
	Author:      &feeds.Author{"无闻", "joe2010xtmf@163.com"},
	Created:     time.Now(),
	Copyright:   "Copyright © 2013-2014 Golang 中国",
}

Functions

func GetAllPosts

func GetAllPosts() []*archive

func GetAllWorks

func GetAllWorks() []*archive

func GetBlogs

func GetBlogs() []blog

func GetRecentPosts

func GetRecentPosts(num int) []*archive

func GetSinglePost

func GetSinglePost(name string) *archive

func GetSingleWork

func GetSingleWork(name string) *archive

Types

This section is empty.

Jump to

Keyboard shortcuts

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