Take this with a grain of salt, as I've never used PostCSS and had to look 
up what it even was.

https://github.com/ysugimoto/gssp - this is Golang Style Sheet 
Postprocessor which appears to be at least directed at the same task.

Of course, as PostCSS is a tool that applies to .css files, there is no 
particular reason you need to reimplement it in Go to be able to use it 
with Go based serving; the Hugo Go framework apparently includes PostCSS 
integration of some 
sort: https://andrewdavis.me/post/rewriting-my-personal-site-with-hugo/ has 
an example under the heading Integrated CSS Processing.

Given that, as I understand it, part of the appeal of PostCSS is the 
library of modules for it, and the fact that these modules are certainly 
not going to be compatible with a Go reimplementation, you may need to 
consider whether you use any modules and what would be involved in 
reimplementing their functionality before moving to a pure-Go solution.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/13a7972e-13de-41c0-8984-38518d55b83cn%40googlegroups.com.

Reply via email to