From 1c4ee8e349a97b6c462a8d72d664012716698279 Mon Sep 17 00:00:00 2001 From: gouguoyin <245629560@qq.com> Date: Sat, 3 Feb 2024 20:20:21 +0800 Subject: [PATCH] Add package comment --- calendar/persian/persian.go | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/calendar/persian/persian.go b/calendar/persian/persian.go index dda34b86..91b6ea34 100644 --- a/calendar/persian/persian.go +++ b/calendar/persian/persian.go @@ -1,3 +1,4 @@ +// Package persian is part of the Carbon package. package persian import ( @@ -9,23 +10,6 @@ import ( "github.com/golang-module/carbon/v2/calendar/julian" ) -type Month int - -const ( - Farvardin Month = 1 + iota - Ordibehesht - Khordad - Tir - Mordad - Shahrivar - Mehr - Aban - Azar - Dey - Bahman - Esfand -) - var ( minYear = 1097 months = []string{"فروردین", "اردیبهشت", "خرداد", "تیر", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند"}