|
|
|
|
|
by zxvkhkxvdvbdxz
511 days ago
|
|
> If you want to add two days you can't just call Add(0 /years/, 0 /months/, 2 /days/), you need to use AddDate. Sorry for nit-picking, but 2 days is a duration of time, and you can add one using Add, like this: t.Add(time.Hour * 24 * 2)
I agree about FFI being a weak point in go when you need to interact with other languages, but it can hopefully be mitigated by using tinygo, which is still being developed. |
|