Sactown is where I live and have off and on for fifty years. I second Yoche De He at Cache Creek Casino as the best public course by far within an hours drive of downtown. Plus you can mix in a great dinner and casino games and maybe live entertainment at Cache Creek. It is an easy 45 min drive from downtown. It's really not an easy walk though if your a walker, many changes in elevation and I think cart is included in greenfee.
If you don't want that drive you could play another good public course by the same designer Brad Bell called Teal Bend located just north of downtown about 10 mins just past the airport. It has a nice grass range and is an easy walk through the marsh areas and usually not crowded and in great shape with good greens.
If your a GCA buff there is Haggin Oaks a 36 hole public facility with a MacKenzie course that was redone several times but I can't recommend the course as there is not much Mac left but it is challenging and five minutes from downtown. The best part is the snack bar has the original blue prints of the Mac layout on the wall and the history of Sacramento golf under glass on the tables. Also they have a 24 hour lighted driving range and a great huge pro shop where you can try out new clubs for free on the range with just a drivers license.
If you have private access then Del Paso CC is the place having hosted LPGA and Senior PGA tournaments and near downtown.
I would recommend using GolfNow app for the best green fees if that is a consideration and there are many good but not great public courses around Sacramento.
Whitney Oaks and Turkey Creek are really good and tough with old oaks and creeks/water hazards located in Roseville about 30 mins from downtown and there is a TopGolf in the same area.
There are many great restaurants and bars downtown along with some great diners and dives along with great sushi especially at Mikuni's.
My favorite BBQ for baby back ribs is The Tank House downtown on J St. and there is a great brew pub with German sausages & charcuterie and duck fat fries called Low Brau also downtown on L st.
PM me if you have specific questions and have fun.