xiecat / fofax

FOFAX是一个基于fofa.info的API命令行查询工具
https://fofax.xiecat.fun/
GNU General Public License v3.0
719 stars 74 forks source link

refactor: move from io/ioutil to io and os packages #10

Closed Juneezee closed 2 years ago

Juneezee commented 2 years ago

This PR introduces two small changes:

  1. Run go mod tidy
  2. The io/ioutil package has been deprecated in Go 1.16 (See https://golang.org/doc/go1.16#ioutil). This PR replaces the existing io/ioutil functions with their new definitions in io and os packages.