Skip to content

Instantly share code, notes, and snippets.

View neepoo's full-sized avatar
🎯
Focusing

neepoo neepoo

🎯
Focusing
  • chengdu
  • 17:56 (UTC +08:00)
View GitHub Profile
@neepoo
neepoo / main.go
Created August 15, 2023 05:35
Calculate the size of the specified file type in the directory
package main
import (
"fmt"
"os"
"path/filepath"
"strings"
)
func main() {
@neepoo
neepoo / radix_test.go
Created May 6, 2023 05:59
10进制转换成x(2-36)进制,created by jb
package radix
import (
"strconv"
"testing"
)
func radix(x, base int) string {
var s string
if x == 0 {