Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
[feat] upgrade to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xpunch committed Dec 7, 2021
1 parent 9e55dd6 commit a2e5f4e
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 32 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "time"

const (
Name = "go.micro.dashboard"
Version = "1.1.0"
Version = "1.2.0"
)

const (
Expand Down
18 changes: 12 additions & 6 deletions docs/docs.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag

package docs

import (
"bytes"
"encoding/json"
"strings"
"text/template"

"github.com/alecthomas/template"
"github.com/swaggo/swag"
)

var doc = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{.Description}}",
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"termsOfService": "http://swagger.io/terms/",
"contact": {},
Expand Down Expand Up @@ -763,7 +762,7 @@ type swaggerInfo struct {

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = swaggerInfo{
Version: "1.1.0",
Version: "1.2.0",
Host: "",
BasePath: "/",
Schemes: []string{},
Expand All @@ -782,6 +781,13 @@ func (s *s) ReadDoc() string {
a, _ := json.Marshal(v)
return string(a)
},
"escape": func(v interface{}) string {
// escape tabs
str := strings.Replace(v.(string), "\t", "\\t", -1)
// replace " with \", and if that results in \\", replace that with \\\"
str = strings.Replace(str, "\"", "\\\"", -1)
return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
},
}).Parse(doc)
if err != nil {
return doc
Expand All @@ -796,5 +802,5 @@ func (s *s) ReadDoc() string {
}

func init() {
swag.Register(swag.Name, &s{})
swag.Register("swagger", &s{})
}
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Go Micro Dashboard",
"termsOfService": "http://swagger.io/terms/",
"contact": {},
"version": "1.1.0"
"version": "1.2.0"
},
"basePath": "/",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ info:
description: go micro dashboard restful-api
termsOfService: http://swagger.io/terms/
title: Go Micro Dashboard
version: 1.1.0
version: 1.2.0
paths:
/api/account/login:
post:
Expand Down
2 changes: 1 addition & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "go-micro-dashboard",
"version": "1.0.0",
"version": "1.2.0",
"scripts": {
"ng": "ng",
"start": "ng s -o",
Expand Down
Binary file modified frontend/src/assets/logo-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/src/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// @title Go Micro Dashboard
// @version 1.1.0
// @version 1.2.0
// @description go micro dashboard restful-api
// @termsOfService http://swagger.io/terms/
// @BasePath /
Expand Down
4 changes: 2 additions & 2 deletions web/ab0x.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions web/b0xfile__449.ea3505f8c3a78bc5ec51.js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.5815524 +0800 CST m=+0.058980001" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:07.3042721 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.6402683 +0800 CST m=+0.216443201" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:05.7530359 +0800 CST)
// original path: frontend\dist\449.ea3505f8c3a78bc5ec51.js

package web
Expand Down
6 changes: 3 additions & 3 deletions web/b0xfile__assets_logo-color.png.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions web/b0xfile__favicon.ico.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/b0xfile__index.html.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.6317088 +0800 CST m=+0.109136401" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:08.2626359 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.6516398 +0800 CST m=+0.227814701" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:06.5700963 +0800 CST)
// original path: frontend\dist\index.html

package web
Expand Down
4 changes: 2 additions & 2 deletions web/b0xfile__main.90c055abfdb9fc028e82.js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.6337268 +0800 CST m=+0.111154401" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:07.3032709 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.4862781 +0800 CST m=+0.062453001" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:05.7530359 +0800 CST)
// original path: frontend\dist\main.90c055abfdb9fc028e82.js

package web
Expand Down
4 changes: 2 additions & 2 deletions web/b0xfile__polyfills.d3127c390f57a23419e1.js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.5835486 +0800 CST m=+0.060976201" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:07.3032709 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.6541906 +0800 CST m=+0.230365501" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:05.7530359 +0800 CST)
// original path: frontend\dist\polyfills.d3127c390f57a23419e1.js

package web
Expand Down
4 changes: 2 additions & 2 deletions web/b0xfile__runtime.0edec77bcc0e6f764d02.js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.5886369 +0800 CST m=+0.066064501" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:07.3042721 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.5996812 +0800 CST m=+0.175856101" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:05.7530359 +0800 CST)
// original path: frontend\dist\runtime.0edec77bcc0e6f764d02.js

package web
Expand Down
4 changes: 2 additions & 2 deletions web/b0xfile__styles.40a72a43f1959e5b9ccc.css.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generaTed by fileb0x at "2021-12-07 09:55:11.5896313 +0800 CST m=+0.067058901" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 09:55:07.305269 +0800 CST)
// Code generaTed by fileb0x at "2021-12-07 10:11:10.6017344 +0800 CST m=+0.177909301" from config file "b0x.yaml" DO NOT EDIT.
// modified(2021-12-07 10:11:05.7530359 +0800 CST)
// original path: frontend\dist\styles.40a72a43f1959e5b9ccc.css

package web
Expand Down

0 comments on commit a2e5f4e

Please sign in to comment.