outofdate

package
v0.0.0-...-212a885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

  • @Author: Wangjun
  • @Date: 2021-07-21 10:04:44
  • @LastEditTime: 2024-03-28 09:04:32
  • @LastEditors: wangjun haodreams@163.com
  • @Description:
  • @FilePath: \golib\outofdate\outofdate.go
  • hnxr

超期文件处理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteOutofdateFile

func DeleteOutofdateFile(path string, beforDays int) (err error)

*

  • @description: 删除过期的文件
  • @param {string} path 需要删除的根路径
  • @param {int} beforDays 需要删除多少天前的数据 0 不删除
  • @return {*}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL