1 Star 0 Fork 0

go-libs/config

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
func.go 822 Bytes
Copy Edit Raw Blame History
非一般 authored 2024-07-10 14:57 +08:00 . init
// 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.
//
// Author: wsfuyibing <682805@qq.com>
// Date: 2024-07-10
package config
// Seek
// config resource with given names. Break if any resource found.
//
// config.Seek("app.yaml", "app.yml")
func Seek(names ...string) Resource {
return Location.Find(names...)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-libs/config.git
git@gitee.com:go-libs/config.git
go-libs
config
config
v1.0.3

Search