package
0.0.0-20190422025920-beccf3fe4313
Repository: https://github.com/changwh/go-common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckBFSImage check bfs file.
CleanURL cuts host.
CleanURLs .
Client 成转换AI部门的client.
CompleteURL adds host on path.
CompleteURLs .
ConvertPlat convert plat from resource.
Group2State mapping creation group to.
HistoryClient .
InReprints check reprint in all reprints.
InTemplateID check tid in all tids.
NewNoticeState .
NoDistributeAttr check if no distribute.
NoRegionAttr check if no region.
Plat return plat by platStr or mobiApp.
TransformArticle .
TransformDraft .
ValidTemplate checks template id & images count.

# Constants

AttributesAttrBitNoDistribute 禁止分发(空间/分区/动态).
AttrBitNoRank 禁止排行.
AttrBitNoRegion 禁止在分区页显示.
Const .
Const .
Const .
AuthorStatePass 过审.
Cards.
Cards.
Cards.
Cards.
Cards.
Cards.
Cards.
Const .
FieldDefault with recommends.
FieldFav favorite stat.
FieldLike like stat.
FieldNew new list.
FieldReply reply stat.
FieldView view stat.
except draft and deleted.
0.
-2 2.
-10 -3 3.
NoImage 无图.NoImage = int8(1) HeadImage 头图.
hotspot type.
hotspot type.
Const .
sort type.
sort type.
Const .
PlatAndroid is int8 for android.
PlatAndroidG is int8 for Android Global.
PlatAndroidI is int8 for Android Global.
PlatAndroidTV is int8 for AndroidTV Global.
PlatH5 is int8 for H5.
PlatIPad is int8 for ipad.
PlatIPadI is int8 for IPAD Global.
PlatIPhone is int8 for iphone.
PlatIPhoneI is int8 for Iphone Global.
PlatOther is int8 for unknow plat.
PlatPC is int8 for PC.
PlatWPhone is int8 for wphone.
ReprintAllow 允许规范转载.
ReprintForbid 禁止转载.
State.
Const .
Const .
Const .
Const .
Const .
Const .
Const .
重复编辑通过.
重复编辑待审.
重复编辑未通过.
Const .
Const .
Const .
Templates.

# Variables

No description provided by the author
No description provided by the author
HotspotTypes types.
rank.
rank.
rank.
rank.
SortFields all field.

# Structs

AccountCard .
ActInfo .
Activity .
AnniversaryAuthor .
AnniversaryInfo .
AnniversaryReader .
Apply apply model.
ArgAid .
ArgAidCid .
ArgAidContent .
ArgAidMid .
ArgAids .
ArgArticle .
ArgAuthor .
ArgCreationArts .
ArgFav .
ArgForce force update.
ArgIP .
ArgMid .
ArgMidAids .
ArgNewArt .
ArgPtime .
ArgRecommends .
ArgSort .
ArgStats .
ArgUpArts .
ArgUpDraft .
ArgUpsArts .
Article
No description provided by the author
Articles .
ArticleViewList .
ArtPage article page.
ArtParam param for article info input.
AudioCard .
No description provided by the author
AuthorLimit .
AuthorPermission recode of article_authors table.
BangumiCard .
Banner struct.
BannerRule .
Cards .
No description provided by the author
CheatInfo .
CreationArts creation article list.
CreationArtsType creation article-list type's count.
CreativeArtList article for list.
CreativeDraftList draft list.
CreativeList creative list.
CreativeMeta article detail.
Draft draft struct.
DraftMsg means article's draft message in databus.
Drafts draft list.
ExtMsg .
Favorite user favorite list.
FullListArtMeta .
Hotspot model.
HotspotResp model.
HotspotStats .
Identify user verify info.
No description provided by the author
ListArticles list articles.
ListArtMeta .
ListInfo list info.
MallCard .
No description provided by the author
MediaResp .
MediaResult .
No description provided by the author
MetaWithLike meta with like.
MoreArts .
No description provided by the author
Notice notice.
No description provided by the author
Page model.
No description provided by the author
Rank .
RankCategory .
RankMeta .
RankResp .
RecAuthor .
Recommend model.
RecommendArt model.
RecommendArtWithLike model.
RecommendAuthor .
RecommendAuthors .
RecommendHome .
RecommendPlus .
SearchArt search article model.
Setting .
SkyHorseResp response.
StatMsg means article's stat message in databus.
No description provided by the author
No description provided by the author
TagArts .
ThirtyDayArticle for article 30 days data.
TicketCard .
UpArtMetas article list.
UpArtMetasLists .
UpLists .
UpStat for bigdata article up stat.
ViewInfo model.
No description provided by the author
WebListArticles .

# Type aliases

Categories for sorting category.
Metas Metas.
NoticeState .
Recommends model.