format: successful function flow now returns nil as error type instead of err
delete unnecessary scan from posts.go Delete()