I am new to the golang. Is it possible to mark a parameter as constant in function ? So that the parameter is not modified accidentally.
No.
You can declare a constant inside a function body, but not as a parameter.
In Go, constants are created in compile time and can never change, while function parameters must change with each call at run time.