Explain the use of Go's make function for creating dynamic arrays and maps?