本文整理汇总了Golang中github.com/attic-labs/noms/types.RegisterValue函数的典型用法代码示例。如果您正苦于以下问题:Golang RegisterValue函数的具体用法?Golang RegisterValue怎么用?Golang RegisterValue使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了RegisterValue函数的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。
示例1: init
func init() {
__typeForListOfD = types.MakeCompoundType(types.ListKind, types.MakeType(ref.Parse("sha1-eda4273cba9d5d4a1bccf41bcaec64743863cde0"), 0))
types.RegisterValue(__typeForListOfD, builderForListOfD, readerForListOfD)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:struct_with_imports.noms.go
示例2: init
func init() {
__typeForMapOfRefOfKeyToSetOfRefOfRound = types.MakeCompoundType(types.MapKind, types.MakeCompoundType(types.RefKind, types.MakeType(__mainPackageInFile_index_CachedRef, 2)), types.MakeCompoundType(types.SetKind, types.MakeCompoundType(types.RefKind, types.MakeType(ref.Parse("sha1-91ae65b19b4817fc15d4e2c5c7472c68b4950b77"), 1))))
types.RegisterValue(__typeForMapOfRefOfKeyToSetOfRefOfRound, builderForMapOfRefOfKeyToSetOfRefOfRound, readerForMapOfRefOfKeyToSetOfRefOfRound)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:index.noms.go
示例3: init
func init() {
__typeForMapOfSizeToString = types.MakeCompoundType(types.MapKind, types.MakeType(__commonPackageInFile_photo_CachedRef, 2), types.MakePrimitiveType(types.StringKind))
types.RegisterValue(__typeForMapOfSizeToString, builderForMapOfSizeToString, readerForMapOfSizeToString)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:photo.noms.go
示例4: init
func init() {
__typeForMapOfStringToRefOfCompany = types.MakeCompoundType(types.MapKind, types.MakePrimitiveType(types.StringKind), types.MakeCompoundType(types.RefKind, types.MakeType(ref.Parse("sha1-91ae65b19b4817fc15d4e2c5c7472c68b4950b77"), 0)))
types.RegisterValue(__typeForMapOfStringToRefOfCompany, builderForMapOfStringToRefOfCompany, readerForMapOfStringToRefOfCompany)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:sha1_6c64b08.go
示例5: init
func init() {
__typeForListOfRefOfAlbum = types.MakeCompoundType(types.ListKind, types.MakeCompoundType(types.RefKind, types.MakeType(__mainPackageInFile_picasa_CachedRef, 1)))
types.RegisterValue(__typeForListOfRefOfAlbum, builderForListOfRefOfAlbum, readerForListOfRefOfAlbum)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:picasa.noms.go
示例6: init
func init() {
__typeForListOfBlob = types.MakeCompoundType(types.ListKind, types.MakePrimitiveType(types.BlobKind))
types.RegisterValue(__typeForListOfBlob, builderForListOfBlob, readerForListOfBlob)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:sha1_b3ecb0f.go
示例7: init
func init() {
__typeForSetOfFloat32 = types.MakeCompoundType(types.SetKind, types.MakePrimitiveType(types.Float32Kind))
types.RegisterValue(__typeForSetOfFloat32, builderForSetOfFloat32, readerForSetOfFloat32)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:ref.noms.go
示例8: init
func init() {
__typeForMapOfStringToRefOfAlbum = types.MakeCompoundType(types.MapKind, types.MakePrimitiveType(types.StringKind), types.MakeCompoundType(types.RefKind, types.MakeType(__mainPackageInFile_types_CachedRef, 1)))
types.RegisterValue(__typeForMapOfStringToRefOfAlbum, builderForMapOfStringToRefOfAlbum, readerForMapOfStringToRefOfAlbum)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:types.noms.go
示例9: init
func init() {
__typeForListOfSong = types.MakeCompoundType(types.ListKind, types.MakeType(__mainPackageInFile_types_CachedRef, 0))
types.RegisterValue(__typeForListOfSong, builderForListOfSong, readerForListOfSong)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:types.noms.go
示例10: init
func init() {
__typeForSetOfRefOfCommit = types.MakeCompoundType(types.SetKind, types.MakeCompoundType(types.RefKind, types.MakeType(__datasPackageInFile_types_CachedRef, 0)))
types.RegisterValue(__typeForSetOfRefOfCommit, builderForSetOfRefOfCommit, readerForSetOfRefOfCommit)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:types.noms.go
示例11: init
func init() {
__typeForMapOfStringToRefOfListOfPitch = types.MakeCompoundType(types.MapKind, types.MakePrimitiveType(types.StringKind), types.MakeCompoundType(types.RefKind, types.MakeCompoundType(types.ListKind, types.MakeType(__mainPackageInFile_types_CachedRef, 0))))
types.RegisterValue(__typeForMapOfStringToRefOfListOfPitch, builderForMapOfStringToRefOfListOfPitch, readerForMapOfStringToRefOfListOfPitch)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:types.noms.go
示例12: init
func init() {
__typeForListOfUint8 = types.MakeCompoundType(types.ListKind, types.MakePrimitiveType(types.Uint8Kind))
types.RegisterValue(__typeForListOfUint8, builderForListOfUint8, readerForListOfUint8)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:struct_with_dup_list.noms.go
示例13: init
func init() {
__typeForListOfStruct = types.MakeCompoundType(types.ListKind, types.MakeType(__genPackageInFile_struct_CachedRef, 0))
types.RegisterValue(__typeForListOfStruct, builderForListOfStruct, readerForListOfStruct)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:struct.noms.go
示例14: init
func init() {
__typeForMapOfStringToValue = types.MakeCompoundType(types.MapKind, types.MakePrimitiveType(types.StringKind), types.MakePrimitiveType(types.ValueKind))
types.RegisterValue(__typeForMapOfStringToValue, builderForMapOfStringToValue, readerForMapOfStringToValue)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:map.noms.go
示例15: init
func init() {
__typeForSetOfBool = types.MakeCompoundType(types.SetKind, types.MakePrimitiveType(types.BoolKind))
types.RegisterValue(__typeForSetOfBool, builderForSetOfBool, readerForSetOfBool)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:set.noms.go
示例16: init
func init() {
__typeForSetOfRefOfRemotePhoto = types.MakeCompoundType(types.SetKind, types.MakeCompoundType(types.RefKind, types.MakeType(ref.Parse("sha1-10004087fdbc623873c649d28aa59f4e066d374e"), 0)))
types.RegisterValue(__typeForSetOfRefOfRemotePhoto, builderForSetOfRefOfRemotePhoto, readerForSetOfRefOfRemotePhoto)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:facebook.noms.go
示例17: init
func init() {
__typeForListOfTree = types.MakeCompoundType(types.ListKind, types.MakeType(__genPackageInFile_struct_recursive_CachedRef, 0))
types.RegisterValue(__typeForListOfTree, builderForListOfTree, readerForListOfTree)
}
开发者ID:arv,项目名称:noms-old,代码行数:4,代码来源:struct_recursive.noms.go
注:本文中的github.com/attic-labs/noms/types.RegisterValue函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论