You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 2022. Convert 1D Array Into 2D Array.go
    path of file: ./repos/LeetCode-Go/leetcode/2022.Convert-1D-Array-Into-2D-Array
    
    the code of the file until where you have to start completion: package leetcode

func construct2DArray(original []int, m int, n int) [][]int {
	if m*n != len(original) {
	
    
func construct2DArray(original []int, m int, n int) [][]int {
	if m*n != len(original) {
		return [][]int{}
	}
	res := make([][]int, m)
	for i := 0; i < m; i++ {
		res[i] = original[n*i : n*(i+1)]
	}
	return res
}