From 2fc7a2ebff97f8e0a11fde901914aeb1f1bbdbbf Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Tue, 25 Aug 2020 01:12:04 +0800 Subject: [PATCH 1/5] add: check timer bridge / docs --- LICENSE | 208 ++++++++++++++++++++++++++++++-- README.md | 10 +- internal/bootstrap/bootstrap.go | 2 +- internal/timer/timer.go | 14 ++- 4 files changed, 220 insertions(+), 14 deletions(-) diff --git a/LICENSE b/LICENSE index b99de7b..1660f8c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,13 +1,201 @@ -Copyright Cardinal © Vidar-Team + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - http://www.apache.org/licenses/LICENSE-2.0 + 1. Definitions. -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Vidar-Team + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/README.md b/README.md index c28e099..da0ce4d 100644 --- a/README.md +++ b/README.md @@ -127,4 +127,12 @@ curl https://sh.cardinal.ink | bash © Vidar-Team -使用 APACHE LICENSE VERSION 2.0 进行许可,禁止商业用途。 +本项目使用 APACHE LICENSE VERSION 2.0 进行许可。 + +若您安装及/或使用 Cardinal 及其相关软件、文档,即表示您已充分阅读、理解并同意接受本协议。 + +我们接受并允许各大高校、安全团队、技术爱好者使用 Cardinal 作为比赛训练平台或举办内部训练赛。 + +但不允许在未经许可授权的情况下,使用 Cardinal 的代码、文档、相关软件等开展商业培训、商业比赛、产品销售等任何营利性行为。禁止恶意更换、去除 Cardinal 及其相关软件、文档版权信息。 + +一经发现,严肃处理。Vidar-Team 保留追究其法律责任的权力。 diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index 022ad4c..a39a606 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -37,8 +37,8 @@ func LinkStart() { dynamic_config.Init() // Game timer. - timer.Init() GameToTimerBridge() + timer.Init() // Cache store.Init() diff --git a/internal/timer/timer.go b/internal/timer/timer.go index b81a290..ff32852 100644 --- a/internal/timer/timer.go +++ b/internal/timer/timer.go @@ -1,7 +1,6 @@ package timer import ( - "fmt" "github.com/gin-gonic/gin" "github.com/vidar-team/Cardinal/conf" "github.com/vidar-team/Cardinal/internal/asteroid" @@ -47,6 +46,17 @@ func GetTime(c *gin.Context) (int, interface{}) { } func Init() { + // Check the bridge. + if SetRankListTitle == nil || + SetRankList == nil || + CleanGameBoxStatus == nil || + GetLatestScoreRound == nil || + RefreshFlag == nil || + CalculateRoundScore == nil { + + log.Fatalln("Timer bridge error, the function should be not nil.") + } + t = &timer{ BeginTime: conf.Get().BeginTime, EndTime: conf.Get().EndTime, @@ -185,7 +195,7 @@ func timerProcess() { // Asteroid Unity3D refresh. asteroid.NewRoundAction() - fmt.Println(t.NowRound) + log.Printf("Round %d\n", t.NowRound) } } From 7e6e120a875247dc93bb8d340012b8c165d4e113 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Tue, 25 Aug 2020 01:19:32 +0800 Subject: [PATCH 2/5] fix: timer test --- test/cardinal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cardinal_test.go b/test/cardinal_test.go index 2ee5f87..2f13df5 100644 --- a/test/cardinal_test.go +++ b/test/cardinal_test.go @@ -59,8 +59,8 @@ func prepare() { // Refresh the dynamic config from the database. dynamic_config.Init() - timer.Init() bootstrap.GameToTimerBridge() + timer.Init() asteroid.Init(game.AsteroidGreetData) From 05e927648de9536f8a8db2a52f67430da3c2ac26 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Sat, 29 Aug 2020 18:09:48 +0800 Subject: [PATCH 3/5] feat: version check --- internal/bootstrap/bootstrap.go | 3 ++ internal/misc/version.go | 38 +++++++++++++++++++++++++ internal/utils/const.go | 2 +- internal/utils/utils.go | 50 +++++++++++++++++++++++++++++++++ internal/utils/utils_test.go | 29 +++++++++++++++++++ locales/en-US.yml | 5 +++- locales/zh-CN.yml | 5 +++- 7 files changed, 129 insertions(+), 3 deletions(-) create mode 100644 internal/misc/version.go create mode 100644 internal/utils/utils_test.go diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index a39a606..8a0c9f4 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -24,6 +24,9 @@ func LinkStart() { // Config conf.Init() + // Check version + misc.CheckVersion() + // Sentry misc.Sentry() diff --git a/internal/misc/version.go b/internal/misc/version.go new file mode 100644 index 0000000..8d0c0e8 --- /dev/null +++ b/internal/misc/version.go @@ -0,0 +1,38 @@ +package misc + +import ( + "encoding/json" + "github.com/gin-gonic/gin" + "github.com/parnurzeal/gorequest" + "github.com/vidar-team/Cardinal/conf" + "github.com/vidar-team/Cardinal/internal/utils" + "github.com/vidar-team/Cardinal/locales" + "log" +) + +const GITHUB_RELEASE_API = "https://api.github.com/repos/vidar-team/Cardinal/releases/latest" + +func CheckVersion() { + // Check Cardinal version. + resp, body, _ := gorequest.New().Get(GITHUB_RELEASE_API).End() + if resp != nil && resp.StatusCode == 200 { + type releaseApiJson struct { + Name string `json:"name"` + NodeID string `json:"node_id"` + PublishedAt string `json:"published_at"` + TagName string `json:"tag_name"` + } + + var releaseData releaseApiJson + err := json.Unmarshal([]byte(body), &releaseData) + if err == nil { + // Compare version. + if !utils.CompareVersion(utils.VERSION, releaseData.TagName) { + log.Println(locales.I18n.T(conf.Get().SystemLanguage, "misc.version_out_of_date", gin.H{ + "currentVersion": utils.VERSION, + "latestVersion": releaseData.TagName, + })) + } + } + } +} diff --git a/internal/utils/const.go b/internal/utils/const.go index 915b4c9..05ae3ec 100644 --- a/internal/utils/const.go +++ b/internal/utils/const.go @@ -2,7 +2,7 @@ package utils // These variable will be assigned in CI. var ( - VERSION string + VERSION string = "v0.7.0" COMMIT_SHA string BUILD_TIME string ) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 4fb5ccf..55b2921 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -13,6 +13,7 @@ import ( "golang.org/x/crypto/ssh" "io" "os" + "strconv" "strings" "time" ) @@ -115,3 +116,52 @@ func SSHExecute(ip string, port string, user string, password string, command st return output.String(), nil } + +// CompareVersion used to compare the cardinal version. +func CompareVersion(v1 string, v2 string) bool { + // The version of Cardinal is v.x.x.x, + // we split the string by `.` and compare the number. + // if v1 >= v2 return true + // v1 < v2 return false + // + // It will always return false if the version format is wrong. + + // Empty string + if v1 == "" || v2 == "" { + return false + } + + // Check format + if v1[0] != 'v' || v2[0] != 'v' { + return false + } + v1, v2 = v1[1:], v2[1:] + + v1Segment := strings.Split(v1, ".") + v2Segment := strings.Split(v2, ".") + if len(v1Segment) != 3 || len(v2Segment) != 3 { + return false + } + + if v1 == v2 { + return true + } + + // Compare each part. + for segIndex := 0; segIndex < 3; segIndex++ { + v1Number, err := strconv.Atoi(v1Segment[segIndex]) + if err != nil { + return false + } + v2Number, err := strconv.Atoi(v2Segment[segIndex]) + if err != nil { + return false + } + if v1Number == v2Number { + continue + } + return v1Number > v2Number + } + // They are the same. + return true +} diff --git a/internal/utils/utils_test.go b/internal/utils/utils_test.go new file mode 100644 index 0000000..b075201 --- /dev/null +++ b/internal/utils/utils_test.go @@ -0,0 +1,29 @@ +package utils + +import ( + "fmt" + "github.com/stretchr/testify/assert" + "testing" +) + +func Test_CompareVersion(t *testing.T) { + examples := map[[2]string]bool{ + [2]string{"", ""}: false, + [2]string{"v0.1.1", ""}: false, + [2]string{"0.1.1", "0.1.1"}: false, + [2]string{"0.1.2", "0.1.1"}: false, + [2]string{"v1.0.0", "v2.0.0"}: false, + [2]string{"v2.0.0", "v1.0.0"}: true, + [2]string{"v1.2.3", "v3.2.1"}: false, + [2]string{"v3.2.1", "v1.2.3"}: true, + [2]string{"v0.0.7", "v0.0.7"}: true, + [2]string{"v0.1.7", "v0.2.7"}: false, + [2]string{"v1.3.7", "v1.2.5"}: true, + [2]string{"v11.3.7", "v12.2.5"}: false, + [2]string{"v11.3.7", "v11.2.5"}: true, + [2]string{"v45.21.67", "v23.21.59"}: true, + } + for k, v := range examples { + assert.Equal(t, v, CompareVersion(k[0], k[1]), fmt.Sprintf("v1: %s, v2: %s", k[0], k[1])) + } +} diff --git a/locales/en-US.yml b/locales/en-US.yml index 0361539..49ad235 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -136,4 +136,7 @@ en-US: new_team: "{{.count}} new Teams [ {{.teamName}} ] Created." delete_team: "Team [ {{.teamName}} ] Deleted." team_reset_password: "Team [ {{.teamName}} ] login password Reset." - rank_list_Succeeded: "Rank List Title Updated." \ No newline at end of file + rank_list_Succeeded: "Rank List Title Updated." + + misc: + version_out_of_date: "The Current Version of Cardinal is Out of Date. Now Version: {{.currentVersion}} / Latest Version: {{.latestVersion}}" \ No newline at end of file diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index ce6ed99..d05bf3f 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -136,4 +136,7 @@ zh-CN: new_team: "{{.count}} 个新的队伍 [ {{.teamName}} ] 被创建" delete_team: "Team [ {{.teamName}} ] 被删除" team_reset_password: "队伍 [ {{.teamName}} ] 登录密码已重置" - rank_list_success: "更新排行榜标题成功" \ No newline at end of file + rank_list_success: "更新排行榜标题成功" + + misc: + version_out_of_date: "当前 Cardinal 并非最新版本,请考虑升级到最新版本。当前版本: {{.currentVersion}} / 最新版本: {{.latestVersion}}" \ No newline at end of file From 83e7f25a23b67f5eef096385bda4774272fe64e0 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Mon, 31 Aug 2020 15:57:54 +0800 Subject: [PATCH 4/5] v0.7.1 fix: manager frontend deploy from docker --- go.mod | 2 +- go.sum | 2 ++ internal/utils/const.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index aab0eb9..43a3b5c 100644 --- a/go.mod +++ b/go.mod @@ -56,7 +56,7 @@ require ( github.com/theplant/htmltestingutils v0.0.0-20190423050759-0e06de7b6967 // indirect github.com/theplant/testingutils v0.0.0-20190603093022-26d8b4d95c61 // indirect github.com/vidar-team/Cardinal_frontend v0.7.0-alpha - github.com/vidar-team/Cardinal_manager_frontend v0.7.1 + github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1 github.com/yosssi/gohtml v0.0.0-20200424144038-a48de20dd9dd // indirect golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd golang.org/x/text v0.3.0 diff --git a/go.sum b/go.sum index 688e8d4..dbc9c0c 100644 --- a/go.sum +++ b/go.sum @@ -319,6 +319,8 @@ github.com/vidar-team/Cardinal_frontend v0.7.0 h1:7RcqGZcLy6bMXMBZvIbIoVC08mzdBF github.com/vidar-team/Cardinal_frontend v0.7.0/go.mod h1:wD4qPD/Z+T3eT0SiOQe9262VY6xSyWz12UQXmkH9uiI= github.com/vidar-team/Cardinal_manager_frontend v0.7.0 h1:ETcUmcSkh8cZYV2dSKioRM4bnAhnTNjEFKwD8yW4nCQ= github.com/vidar-team/Cardinal_manager_frontend v0.7.0/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= +github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1 h1:vCxLOT54YmYf8hB9QdqB7VVVOhxdTIMpcLUE33E8FcE= +github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= github.com/vidar-team/Cardinal_manager_frontend v0.7.1 h1:HgqOwST8hmFHD1w9zSQy3cvXU3SfZGbR9t+NepVHaAs= github.com/vidar-team/Cardinal_manager_frontend v0.7.1/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= diff --git a/internal/utils/const.go b/internal/utils/const.go index 05ae3ec..915b4c9 100644 --- a/internal/utils/const.go +++ b/internal/utils/const.go @@ -2,7 +2,7 @@ package utils // These variable will be assigned in CI. var ( - VERSION string = "v0.7.0" + VERSION string COMMIT_SHA string BUILD_TIME string ) From 596cb08b6765631214e16d4dc5506b0a2640e7b1 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Mon, 31 Aug 2020 16:04:24 +0800 Subject: [PATCH 5/5] v0.7.1 fix: manager frontend deploy from docker --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 43a3b5c..58ae866 100644 --- a/go.mod +++ b/go.mod @@ -56,7 +56,7 @@ require ( github.com/theplant/htmltestingutils v0.0.0-20190423050759-0e06de7b6967 // indirect github.com/theplant/testingutils v0.0.0-20190603093022-26d8b4d95c61 // indirect github.com/vidar-team/Cardinal_frontend v0.7.0-alpha - github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1 + github.com/vidar-team/Cardinal_manager_frontend v0.7.1-2 github.com/yosssi/gohtml v0.0.0-20200424144038-a48de20dd9dd // indirect golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd golang.org/x/text v0.3.0 diff --git a/go.sum b/go.sum index dbc9c0c..029bc7c 100644 --- a/go.sum +++ b/go.sum @@ -321,6 +321,8 @@ github.com/vidar-team/Cardinal_manager_frontend v0.7.0 h1:ETcUmcSkh8cZYV2dSKioRM github.com/vidar-team/Cardinal_manager_frontend v0.7.0/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1 h1:vCxLOT54YmYf8hB9QdqB7VVVOhxdTIMpcLUE33E8FcE= github.com/vidar-team/Cardinal_manager_frontend v0.7.1-1/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= +github.com/vidar-team/Cardinal_manager_frontend v0.7.1-2 h1:X8mtIOhaFJZVcmBQZzdicoI6Lx2+5bNkwSMV9m4XeOQ= +github.com/vidar-team/Cardinal_manager_frontend v0.7.1-2/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= github.com/vidar-team/Cardinal_manager_frontend v0.7.1 h1:HgqOwST8hmFHD1w9zSQy3cvXU3SfZGbR9t+NepVHaAs= github.com/vidar-team/Cardinal_manager_frontend v0.7.1/go.mod h1:uJBQtuXHTLNyuIMONoM1OqYmW7Q/N40+587Qt90kqAk= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=