Consider a function defined by the equation:
$$ f(x) = 2x^3 - 3x^2 + kx + 5 $$
Where $$ k $$ is a constant. If the function has a local maximum at $$ x = 1 $$, what is the value of $$ k $$?