Created
October 7, 2019 02:56
-
-
Save parzibyte/3d4097285d271523ca61bfeed5295359 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var listaDeImpresorasLimpias []string | |
for _, impresora := range listaDeImpresoras { | |
nombreLimpio := strings.TrimRight(impresora, " ") | |
if len(nombreLimpio) > 0 && nombreLimpio != "Name" { | |
listaDeImpresorasLimpias = append(listaDeImpresorasLimpias, nombreLimpio) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment