Art9Studio / Aureole

Non-idiomatic comment formatting GO-C4004
Style
Minor
2 years ago2 years old
put a space between // and comment text
22	return func(c *fiber.Ctx) error {
23		routes := u.pluginApi.GetAppRoutes()
24		//todo: transform routes to ExtendedRoutes
25		//routes["Project"] = u.pluginApi.GetProjectRoutes()26
27		buf := &bytes.Buffer{}
28		t := template.Must(template.New("tmpl").Parse(tmpl))
put a space between // and comment text
 96func (*yubikey) InitMFA() core.MFAInitFunc {
 97	return func(c fiber.Ctx) (core.MFAResMap, error) {
 98		// TODO implement me
 99		//panic("implement me")100		return nil, nil
101	}
102}
put a space between // and comment text
103
104func (*yubikey) Verify() core.MFAVerifyFunc {
105	// TODO implement me
106	//panic("implement me")107	return nil
108}
109
put a space between // and comment text
 28}
 29
 30func (y *yubikey) GetCustomAppRoutes() []*core.Route {
 31	//TODO implement me 32	//panic("implement me")
 33	return nil
 34}
put a space between // and comment text
 68	return meta
 69}
 70
 71//func (y *yubikey) GetPaths() *openapi3.Paths { 72//	specs := struct {
 73//		Paths       *openapi3.Paths
 74//		Definitions openapi3.Definition