Documentation
¶
Overview ¶
Copyright © 2020 aggronmagi <czy463@163.com> 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.
Copyright © 2020 aggronmagi <czy463@163.com>
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.
Copyright © 2020 aggronmagi <czy463@163.com> 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.
Index ¶
- Variables
- func Debug() bool
- func Debugln(v ...interface{})
- func Dump(v interface{})
- func MergeNotSameSlice(l1, l2 []string) (res []string)
- func PanicIf(err interface{}, tips ...interface{})
- func RangeFiles(dirPth string, rf func(file string) error) (err error)
- func RangeFilesWithExt(dir, ext string, rf func(string) error) error
- func Sdump(v interface{}, name string) string
- func ShowDetail() bool
- func Title(in string) (out string)
- func Trackln(v ...interface{})
Constants ¶
This section is empty.
Variables ¶
var Flag = &walleCommonFlag{ Debug: false, ShowDetail: false, }
Flag 导出全局通用标记
Functions ¶
func Dump ¶
func Dump(v interface{})
Dump print to standard out the value that is passed as the argument with indentation. Pointers are dereferenced.
func MergeNotSameSlice ¶
func RangeFiles ¶
RangeFiles 遍历获取指定目录下的所有文件(递归深层目录)
func RangeFilesWithExt ¶
RangeFilesWithExt 遍历指定目录下所有 有指定后缀名的文件
func Sdump ¶
Sdump return the value that is passed as the argument with indentation. Pointers are dereferenced.
func ShowDetail ¶
func ShowDetail() bool
Types ¶
This section is empty.