Closed y2468101216 closed 3 years ago
追加 0.31 版錯誤訊息
PS C:\Users\Tim.chen\Documents\GolangProjects\go-bbs\cache> go build
# github.com/Ptt-official-app/go-bbs/cache
.\mmap.go:54:12: undefined: openMmap
.\mmap.go:75:9: undefined: closeMmap
.\systemvshm.go:64:16: ds.ShmSegsz undefined (type ShmidDs has no field or method ShmSegsz)
.\systemvshm_unix.go:10:16: undefined: unix.Syscall
.\systemvshm_unix.go:10:32: undefined: unix.SYS_SHMGET
.\systemvshm_unix.go:18:16: undefined: unix.Syscall
.\systemvshm_windows.go:10:6: shmget redeclared in this block
previous declaration at .\systemvshm_unix.go:9:48
.\systemvshm_windows.go:14:6: shmat redeclared in this block
previous declaration at .\systemvshm_unix.go:17:62
.\systemvshm_windows.go:18:6: shmdt redeclared in this block
previous declaration at .\systemvshm_unix.go:27:35
.\systemvshm_windows.go:22:6: shmctl redeclared in this block
previous declaration at .\systemvshm_unix.go:37:53
.\systemvshm_unix.go:18:16: too many errors
試試看 0.3.2 版
發生了什麼事? / The Problem
螢幕截圖 / Screenshots
開發環境 / Environment