harbor/controllers/ng/repository.go

13 lines
220 B
Go
Raw Normal View History

2016-04-11 10:07:16 +02:00
package ng
import "os"
2016-04-11 10:07:16 +02:00
type RepositoryController struct {
BaseController
}
func (rc *RepositoryController) Get() {
rc.Data["HarborRegUrl"] = os.Getenv("HARBOR_REG_URL")
2016-04-11 10:07:16 +02:00
rc.Forward("Repository", "repository.htm")
}