05 2014 档案

摘要:1 // filelist.go 2 package main 3 4 import ( 5 //"flag" 6 "fmt" 7 "os" 8 "path/filepath" 9 "strings"10 )11 12 var (13 ostype... 阅读全文
posted @ 2014-05-23 16:48 sndnvaps 阅读(6560) 评论(0) 推荐(0) 编辑
摘要:1 import "strconv" 2 3 func IsLeapYear(y string) bool { //y == 2000, 2004 4 //判断是否为闰年 5 year, _ := strconv.Atoi(y) 6 if year%4 == 0 && y... 阅读全文
posted @ 2014-05-22 19:42 sndnvaps 阅读(651) 评论(0) 推荐(0) 编辑
摘要:用golang写的,验证身份证正确性的小程序 阅读全文
posted @ 2014-05-18 19:52 sndnvaps 阅读(3040) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示