From 6360fb2f33aeab92ca080a6fbc8c3d617cdce60c Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Sun, 15 Aug 2021 15:19:22 +0800 Subject: [PATCH] feat(fix-storage-mode): init mode --- bin/out.md | 1 + makefile | 0 storage/cmd/root.go | 18 ++---------------- 3 files changed, 3 insertions(+), 16 deletions(-) create mode 100644 bin/out.md create mode 100644 makefile diff --git a/bin/out.md b/bin/out.md new file mode 100644 index 0000000..ef90a7a --- /dev/null +++ b/bin/out.md @@ -0,0 +1 @@ +### 全部的可执行程序 diff --git a/makefile b/makefile new file mode 100644 index 0000000..e69de29 diff --git a/storage/cmd/root.go b/storage/cmd/root.go index da3c4f3..e1bac4e 100644 --- a/storage/cmd/root.go +++ b/storage/cmd/root.go @@ -1,24 +1,10 @@ -/* -Copyright © 2021 NAME HERE - -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. -*/ +// Package cmd /* package cmd import ( "fmt" - "os" "github.com/spf13/cobra" + "os" "github.com/spf13/viper" )