Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyPage = &Page{Collection: make([](interface{}), 0)}
Functions ¶
This section is empty.
Types ¶
type Og ¶
type Og struct { Title string Type string Url string Image string SiteName string Description string }
Og Meta Data
type Page ¶
type Page struct { Current int Total int Next int HasNext bool Previous int HasPrevious bool Collection []interface{} ItemsTotal int ItemsPerPage int ItemsOffset int }
Page is an abstract data model that supports pagination. If your data access driver implments Pagable interface you'll get the page object by using NewPage() function and feel easy to build paginated HTML.
Directories ¶
Path | Synopsis |
---|---|
github package provides an API client for github.com Copyright (C) 2014 Yohei Sasaki Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
github package provides an API client for github.com Copyright (C) 2014 Yohei Sasaki Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.