Remove hardcoded LDFLAGS
Add sample to godoc