* Package name : golang-github-arran4-golang-ical
Version : 0.0~git20220517.fd89fefb0182-1
Upstream Author : Arran Ubels
* URL : https://github.com/arran4/golang-ical
* License : Apache-2.0
Programming Lang: Go
Description : A ICS / ICal parser and serialiser for Golang.
golang-ical
.
A ICS / ICal parser and serialiser for Golang.
.
Because the other libraries didn't quite do what I needed.
.
Usage, parsing:
.
cal, err := ParseCalendar(strings.NewReader(input))
.
.
Creating:
.
cal := ics.NewCalendar()
cal.SetMethod(ics.MethodRequest)
event := cal.AddEvent(fmt.Sprintf("id@domain",
p.SessionKey.IntID()))
event.SetCreatedTime(time.Now())
event.SetDtStampTime(time.Now())
event.SetModifiedAt(time.Now())
event.SetStartAt(time.Now())
event.SetEndAt(time.Now())
event.SetSummary("Summary")
event.SetLocation("Address")
event.SetDescription("Description")
event.SetURL("https://URL/")
event.AddRrule(fmt.Sprintf("FREQ=YEARLY;BYMONTH=%d;BYMONTHDAY=%d",
time.Now().Month(), time.Now().Day()))
event.SetOrganizer("sender@domain", ics.WithCN("This Machine"))
event.AddAttendee("reciever or participant",
ics.CalendarUserTypeIndividual, ics.ParticipationStatusNeedsAction,
ics.ParticipationRoleReqParticipant, ics.WithRSVP(true))
return cal.Serialize()
.
Helper methods created as needed feel free to send a P.R. with more.
This is a new build dependency for aerc.
We believe that the bug you reported is fixed in the latest version of golang-github-arran4-golang-ical, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1013927@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Robin Jarry <robin@jarry.cc> (supplier of updated golang-github-arran4-golang-ical package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Wed, 29 Jun 2022 13:24:24 +0530 Source: golang-github-arran4-golang-ical Binary: golang-github-arran4-golang-ical-dev Architecture: source all Version: 0.0~git20220517.fd89fef-1 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Robin Jarry <robin@jarry.cc> Description: golang-github-arran4-golang-ical-dev - ICS / ICal parser and serialiser in Golang Closes: 1013927 Changes: golang-github-arran4-golang-ical (0.0~git20220517.fd89fef-1) unstable; urgency=medium . * Initial release (Closes: #1013927) Checksums-Sha1: 042ed23163b57bbc92df30c355d89bca640deaec 2465 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.dsc bb3e51da998ccd6269368567bf453a0d84b1940a 19760 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef.orig.tar.xz 41d8ddb12b42b601ee8d4e5d393f3b54b271f226 2000 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.debian.tar.xz e73b6946f72b8e997a216cecba9cf357515c4b47 17072 golang-github-arran4-golang-ical-dev_0.0~git20220517.fd89fef-1_all.deb 9172ee88c642b697a0efafd468a393113603f899 6741 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1_amd64.buildinfo Checksums-Sha256: b1aafdfbaf2a05bf7ae7f98ce35b493b5bd6cb96690c41f7a2d26771618b4cca 2465 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.dsc f3b3d256839d7086d4aee47a2bcbe4047e6243de236fc12e0497f9068efcbedd 19760 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef.orig.tar.xz f2aeb3b2effa1e317020ddbd7c97ba6a7fab6cb95075a7bcba662938edf51e5e 2000 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.debian.tar.xz 2df0fc1e87b3b6eb96776ebfe203d0ad052b4ac8af85475406ef97a3e4b774f8 17072 golang-github-arran4-golang-ical-dev_0.0~git20220517.fd89fef-1_all.deb f3af6be45dd4fdab108c00cfdb41779612499bd7c71195a78c0dfa456365e56a 6741 golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1_amd64.buildinfo Files: 268fe7e9861e7731a06a504617f21ee9 2465 golang optional golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.dsc 494b9326410aa12cfe39b64b04fa205f 19760 golang optional golang-github-arran4-golang-ical_0.0~git20220517.fd89fef.orig.tar.xz 3f02581d810cdc7c98165eecb5d1608d 2000 golang optional golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1.debian.tar.xz c9d5334fbebf49e1408ca8a09bba9218 17072 golang optional golang-github-arran4-golang-ical-dev_0.0~git20220517.fd89fef-1_all.deb 42b863ba95e685da2b023c82c0364b2a 6741 golang optional golang-github-arran4-golang-ical_0.0~git20220517.fd89fef-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmK8CYASHG5pbGVzaEBk ZWJpYW4ub3JnAAoJEAC650s0M2nxHi4P/1pst7kv6qPSNZ1xvVXwVi+M6dxpd0Cc 8A+sAn63R9LAi2fT4QruiW/YCg4zGEqc72dSiuE+q3Fzzf2RILKR0/6ChyToLMb8 DzubM/onopqXyzvhZFLZcnKna/DLLoBjWHIrDJyyFeqphyncwDS9HGBIsfeSYeB8 7/M09ODqCxikl96NlfpKMO9niZtgxAVqW/GJIk4wMQmMKsJ6Ih6X4SWbOra5Z54G fdnEe/pOo2rPshOm7e0+xwc66TgwLGlbXwtpCDWhxcgxoHMQ61o8Cf2EQ1Mbgldt WJiLnfRgD4+61MlxCqUYmxhKJ+/wdNnzA9Y+w7erlaZTmzf1vfWyhpN84mbZqA6c 0Jsi3Yv1FqhrMNT0fkl3y5RhZzmNTEykaHE17Wrj2WlGlSa0OjqfrwtjdVZp6Ado hINSRn9Z5ezhZKxAbt2VzBVzjRj5cjc6RNI1g6FP5zxK7XdMHv0Z4mvGcNvCchDY Wgd0pEsGcmSEQI3e+uVunHg+WHqL0cic8eJhOOLk8LEtT1F6ai56gpOx/uO/UReN daX5nCy5WCDcWzpQFZ2V5QqbnrdJpIL7wDEXarS9+/s6qkW/XyGm1n16597vVMpB e1T7OsZSH8LWbgc3lCTbIE3rPV6f7bQk/As4wCB0KmyBqXlu/4G1Jf+7Lk/xfW3L fd+YMD4hzZYX =uSet -----END PGP SIGNATURE-----