Skip to content

nosix-me/sunriseset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

sunriseset

Build Status ##描述

计算日出日落

##安装方法

go get github.com/nosix-me/sunriseset

##使用方法 //北京的经纬度 116.46,39.92 package main

import (
	"github.com/nosix-me/sunriseset"
	"fmt"
)

func main() {
	srs := &sunriseset.SunRiseSet{Lat: 39.92, Long: 116.46, Date: "2015-01-14"}
	fmt.Println(srs.GetSunRise())
	fmt.Println(srs.GetSunSet())
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages