all good
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"mediarr/node"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
err, nodeA := node.NewNode(node.NewNodeParams{DatabaseName: "database"})
|
||||
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
||||
nodeA.Up()
|
||||
|
||||
principal := nodeA.GetSystemPrincipal()
|
||||
|
||||
nodeA.CreateDocument()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user