20 lines
348 B
Go
20 lines
348 B
Go
package menu
|
|
|
|
import "SciencesServer/app/service"
|
|
|
|
type Instance struct {
|
|
*service.SessionEnterprise
|
|
}
|
|
|
|
type InstanceHandle func(enterprise *service.SessionEnterprise) *Instance
|
|
|
|
func (c *Instance) List() {
|
|
|
|
}
|
|
|
|
func NewInstance() InstanceHandle {
|
|
return func(enterprise *service.SessionEnterprise) *Instance {
|
|
return &Instance{enterprise}
|
|
}
|
|
}
|