Browse Source

Added Unit.GetFormularsPtr()

Dmitry Yu Okunev 5 years ago
parent
commit
55c8df33fc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      unit.go

+ 4 - 0
unit.go

@@ -166,6 +166,10 @@ func (u *Unit) PrepareFormulars() *Unit {
 	return u
 }
 
+func (u Unit) GetFormularsPtr() *Formulars {
+	return &u.formulars
+}
+
 func (u Unit) GetFormulars() Formulars {
 	if !u.formularsReady {
 		panic("unit is not ready for method GetFormulars: it's required to call PrepareFormulars method, first")