Showing 2 of 2 total issues
Function init
has 166 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func init() {
post2020_11_25 := "2020-11-25-book-review-docker-deep-dive"
post2020_11_09 := "2020-11-09-book-review-free-as-in-freedom"
post2020_09_25 := "2020-09-25-book-review-operating-system-concepts"
post2020_07_20 := "2020-07-20-clubbingowl"
Function PostHandler
has 56 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func PostHandler(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
type postPageVars struct {
globalPageVars