Working with time in Go is pretty straightforward.
Get the current local time:
now := time.Now() // 02 Apr 15 14:03
Construct a time with Date(y, m, d, h, m, s, ns, loc)
:
import asyncio | |
loop = asyncio.get_event_loop() | |
async def hello(): | |
await asyncio.sleep(3) | |
print('Hello!') | |
if __name__ == '__main__': | |
loop.run_until_complete(hello()) | |
Working with time in Go is pretty straightforward.
Get the current local time:
now := time.Now() // 02 Apr 15 14:03
Construct a time with Date(y, m, d, h, m, s, ns, loc)
:
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)