gitlab.com/evatix-go/core@v1.3.55/cmd/main/testMakerTesting.go (about) 1 package main 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/keymk" 7 ) 8 9 func testMakerTesting() { 10 key := keymk.NewKey.All(keymk.BracketJoinerOption, "alim") 11 key.AppendChainStrings("2", "alim-4") 12 13 fmt.Println(key.String()) 14 15 fmt.Println(key.Compile("hello-world")) 16 fmt.Println(key.Compile("hello-5-world")) 17 fmt.Println(key.Compile("hello-5-world")) 18 fmt.Println(key.AppendChainStrings("alim3")) 19 fmt.Println(key.AppendChainStrings("alim4")) 20 fmt.Println(key.String()) 21 fmt.Println(key.Finalized("alim{complete}")) 22 fmt.Println(key.String()) 23 fmt.Println(key.CompileStrings("alim4new")) 24 25 key2 := key.ClonePtr("alim4new").AppendChain("alim5new") 26 27 fmt.Println(key2.Finalized("|BreakPoint|")) 28 29 fmt.Println(key2.CompileKeys(key)) 30 // fmt.Println(key.AppendChainStrings("alim4new")) 31 }