Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
b9429db4
Commit
b9429db4
authored
Jul 31, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9f951fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
go/zodb/persistent.go
go/zodb/persistent.go
+5
-0
No files found.
go/zodb/persistent.go
View file @
b9429db4
...
@@ -134,6 +134,11 @@ const (
...
@@ -134,6 +134,11 @@ const (
// t := reflect.TypeOf
// t := reflect.TypeOf
// zodb.RegisterClass("mymodule.MyObject", t(MyObject{}), t(myObjectState))
// zodb.RegisterClass("mymodule.MyObject", t(MyObject{}), t(myObjectState))
// }
// }
//
// A new instance of the class that embeds Persistent must be created via
// NewPersistent, for example:
//
// obj := zodb.NewPersistent(reflect.TypeOf(MyObject{}), jar).(*MyObject)
type
Persistent
struct
{
type
Persistent
struct
{
// ZODB class of this object.
// ZODB class of this object.
// XXX it could be deduced via typeTab[reflect.TypeOf(.instance)]
// XXX it could be deduced via typeTab[reflect.TypeOf(.instance)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment