refactoring of code

This commit is contained in:
Jonas Kaninda
2024-12-07 02:22:35 +01:00
parent e7a58f0569
commit 07d580a8a9
17 changed files with 33 additions and 30 deletions

View File

@@ -1,13 +1,3 @@
package utils
import (
"fmt"
"log"
"os"
"runtime"
"strings"
)
/*
MIT License
@@ -32,6 +22,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
package utils
import (
"fmt"
"log"
"os"
"runtime"
"strings"
)
// Info returns info log
func Info(msg string, args ...interface{}) {
log.SetOutput(getStd("/dev/stdout"))